瀏覽代碼

Make it easier to enable IME debug logs

Sam Lantinga 1 年之前
父節點
當前提交
3b8cb62283
共有 1 個文件被更改,包括 4 次插入1 次删除
  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>
 {