Ver Fonte

Make it easier to enable IME debug logs

Sam Lantinga há 1 ano atrás
pai
commit
3b8cb62283
1 ficheiros alterados com 4 adições e 1 exclusões
  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>
 
-// #define DEBUG_IME NSLog
+#if 0
+#define DEBUG_IME NSLog
+#else
 #define DEBUG_IME(...)
+#endif
 
 @interface SDL3TranslatorResponder : NSView <NSTextInputClient>
 {