From 39029943851dfc318fabb95357e00b81d2735547 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Dec 2012 03:08:37 +0300 Subject: Improve empty strings manipulation. --- src/spellmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/spellmanager.cpp') diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp index 746331851..4e710b64a 100644 --- a/src/spellmanager.cpp +++ b/src/spellmanager.cpp @@ -356,7 +356,7 @@ std::string SpellManager::autoComplete(std::string partName) std::vector::const_iterator i = mSpellsVector.begin(); const std::vector::const_iterator i_end = mSpellsVector.end(); - std::string newName = ""; + std::string newName; const TextCommand *newCommand = nullptr; while (i != i_end) -- cgit v1.2.3-70-g09d2