src/video/quartz/SDL_QuartzEvents.m
branchSDL-1.2
changeset 4130 a922394ae038
parent 4101 ab38230546a5
child 4139 568c9b3c0167
equal deleted inserted replaced
4129:e52772528c75 4130:a922394ae038
   252     keymap[QZ_KP_ENTER] = SDLK_KP_ENTER;
   252     keymap[QZ_KP_ENTER] = SDLK_KP_ENTER;
   253 }
   253 }
   254 
   254 
   255 static void QZ_DoKey (_THIS, int state, NSEvent *event) {
   255 static void QZ_DoKey (_THIS, int state, NSEvent *event) {
   256 
   256 
   257     NSString *chars;
   257     NSString *chars = NULL;
   258     unsigned int i, numChars;
   258     unsigned int i, numChars;
   259     SDL_keysym key;
   259     SDL_keysym key;
   260     
   260     
   261     /* 
   261     /* 
   262         A key event can contain multiple characters,
   262         A key event can contain multiple characters,