Browse Source

Make it easier to enable IME debug logs

Sam Lantinga 5 months ago
parent
commit
3b8cb62283
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/video/cocoa/SDL_cocoakeyboard.m

+ 4 - 1
src/video/cocoa/SDL_cocoakeyboard.m

@@ -30,8 +30,11 @@
 
 
 #include <Carbon/Carbon.h>
 #include <Carbon/Carbon.h>
 
 
-// #define DEBUG_IME NSLog
+#if 0
+#define DEBUG_IME NSLog
+#else
 #define DEBUG_IME(...)
 #define DEBUG_IME(...)
+#endif
 
 
 @interface SDL3TranslatorResponder : NSView <NSTextInputClient>
 @interface SDL3TranslatorResponder : NSView <NSTextInputClient>
 {
 {