an experiment in making a cocoa webkit browser manageable under X11

only show translation reco during debug

+2 -3
+2 -3
X11Window.m
··· 148 148 strlcpy(str, ksname, sizeof(str)); 149 149 strlcpy(strNoMod, ksname, sizeof(strNoMod)); 150 150 } 151 - else if (strlen(ksname) > 1) 151 + else if (strlen(ksname) > 1 && debug) 152 152 /* probably a named key */ 153 - fprintf(stderr, "should probably translate \"%s\"\n", 154 - ksname); 153 + printf("should probably translate \"%s\"\n", ksname); 155 154 156 155 /* otherwise, assume it's just an ascii letter or number we 157 156 * can pass through as 'characters' param and a 0 keyCode */