Clear the command output variable when a hotkey fails to match to be safe

Originally committed to SVN as r6111.
This commit is contained in:
Thomas Goyne 2011-12-22 21:26:57 +00:00
parent eb8a73d836
commit 022c711409
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ bool Hotkey::Scan(const std::string &context, const std::string &str, bool alway
return true;
}
cmd.clear();
return false;
}