Wrapping a printf in im.c in a debug #ifdef

This commit is contained in:
Bill Kendrick 2022-05-19 23:29:19 -07:00
parent dcc699eea1
commit e1fc4d60e7

View file

@ -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;