Wrapping a printf in im.c in a debug #ifdef
This commit is contained in:
parent
dcc699eea1
commit
e1fc4d60e7
1 changed files with 3 additions and 1 deletions
4
src/im.c
4
src/im.c
|
|
@ -2,7 +2,7 @@
|
||||||
im.c
|
im.c
|
||||||
|
|
||||||
Input method handling
|
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
|
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
|
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';
|
//im->s[1] = L'\0';
|
||||||
|
#ifdef IM_DEBUG
|
||||||
printf("im->s %ls, event.text.text %s\n", im->s, event.text.text);
|
printf("im->s %ls, event.text.text %s\n", im->s, event.text.text);
|
||||||
|
#endif
|
||||||
im->buf[0] = L'\0';
|
im->buf[0] = L'\0';
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue