diff --git a/src/im.c b/src/im.c index a5edd1675..ff8d9ce20 100644 --- a/src/im.c +++ b/src/im.c @@ -2,7 +2,7 @@ im.c Input method handling - Copyright (c) 2007-2019 by Mark K. Kim and others + Copyright (c) 2007-2022 by Mark K. Kim and others This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -755,7 +755,9 @@ static int im_event_c(IM_DATA * im, SDL_Event event) } //im->s[1] = L'\0'; +#ifdef IM_DEBUG printf("im->s %ls, event.text.text %s\n", im->s, event.text.text); +#endif im->buf[0] = L'\0'; return 0;