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:
parent
eb8a73d836
commit
022c711409
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ bool Hotkey::Scan(const std::string &context, const std::string &str, bool alway
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmd.clear();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue