Recovering IM in a more generic way.

This commit is contained in:
Pere Pujal i Carabantes 2015-05-27 00:03:45 +02:00
parent ee3529b7bf
commit 356b503bdd
2 changed files with 27 additions and 11 deletions

View file

@ -2679,7 +2679,7 @@ static void mainloop(void)
if (texttool_len > 0)
{
texttool_len--;
texttool_str[texttool_len] = 0;
texttool_str[texttool_len] = L'\0';
playsound(screen, 0, SND_KEYCLICK, 0, SNDPOS_CENTER,
SNDDIST_NEAR);