summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r--src/spellmanager.cpp2
1 files changed, 1 insertions, 1 deletions
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<TextCommand*>::const_iterator i = mSpellsVector.begin();
const std::vector<TextCommand*>::const_iterator
i_end = mSpellsVector.end();
- std::string newName = "";
+ std::string newName;
const TextCommand *newCommand = nullptr;
while (i != i_end)