Fix macro recording on the same register, replace instead of appending.

This commit is contained in:
Maxime Coste 2013-02-21 13:34:34 +01:00
parent 6573f16dd9
commit 9306a89deb

View File

@ -712,6 +712,7 @@ void InputHandler::handle_available_inputs()
void InputHandler::start_recording(char reg)
{
assert(m_recording_reg == 0);
m_recorded_keys = "";
m_recording_reg = reg;
}