src/events/SDL_keyboard.c
branchSDL-1.3
changeset 1722 5daa04d862f1
parent 1720 a1ebb17f9c52
child 1724 6c63fc2bd986
     1.1 --- a/src/events/SDL_keyboard.c	Fri Jun 30 05:50:35 2006 +0000
     1.2 +++ b/src/events/SDL_keyboard.c	Fri Jun 30 08:18:44 2006 +0000
     1.3 @@ -632,7 +632,7 @@
     1.4              keyboard->repeat.firsttime = 1;
     1.5              keyboard->repeat.timestamp = 1;
     1.6          }
     1.7 -        if ((SDL_EventOK == NULL) || SDL_EventOK(&event)) {
     1.8 +        if ((SDL_EventOK == NULL) || SDL_EventOK(SDL_EventOKParam, &event)) {
     1.9              posted = 1;
    1.10              SDL_PushEvent(&event);
    1.11          }
    1.12 @@ -669,7 +669,8 @@
    1.13                  if (interval > (Uint32) keyboard->repeat.interval) {
    1.14                      keyboard->repeat.timestamp = now;
    1.15                      if ((SDL_EventOK == NULL)
    1.16 -                        || SDL_EventOK(&keyboard->repeat.evt)) {
    1.17 +                        || SDL_EventOK(SDL_EventOKParam,
    1.18 +                                       &keyboard->repeat.evt)) {
    1.19                          SDL_PushEvent(&keyboard->repeat.evt);
    1.20                      }
    1.21                  }