src/video/quartz/SDL_QuartzEvents.m
branchSDL-1.2
changeset 8911 606600f0f6d7
parent 6150 5f0b3693ab60
equal deleted inserted replaced
8716:0aade9c0203f 8911:606600f0f6d7
   343         0 characters, we'll use 0 as the unicode. If it
   343         0 characters, we'll use 0 as the unicode. If it
   344         contains multiple characters, we'll use 0 as
   344         contains multiple characters, we'll use 0 as
   345         the scancode/keysym.
   345         the scancode/keysym.
   346     */
   346     */
   347     if (SDL_TranslateUNICODE && state == SDL_PRESSED) {
   347     if (SDL_TranslateUNICODE && state == SDL_PRESSED) {
   348         [field_edit interpretKeyEvents:[NSArray arrayWithObject:event]];
   348 /*        [field_edit interpretKeyEvents:[NSArray arrayWithObject:event]]; */
   349         chars = [ event characters ];
   349         chars = [ event characters ];
   350         numChars = [ chars length ];
   350         numChars = [ chars length ];
       
   351 /*
   351         if (numChars > 0)
   352         if (numChars > 0)
   352             [field_edit setString:@""];
   353             [field_edit setString:@""];*/
   353     } else {
   354     } else {
   354         numChars = 0;
   355         numChars = 0;
   355     }
   356     }
   356 
   357 
   357     if (numChars == 0) {
   358     if (numChars == 0) {