test/testdyngl.c
changeset 2327 7b53a8401195
parent 1895 c121d94672cb
child 2669 e27bdcc80744
     1.1 --- a/test/testdyngl.c	Fri Mar 07 21:01:54 2008 +0000
     1.2 +++ b/test/testdyngl.c	Fri Mar 07 23:57:15 2008 +0000
     1.3 @@ -180,7 +180,7 @@
     1.4          SDL_GL_SwapBuffers();
     1.5  
     1.6          while (SDL_PollEvent(&event)) {
     1.7 -            if (event.type & SDL_KEYDOWN)
     1.8 +            if (event.type == SDL_KEYDOWN)
     1.9                  done = 1;
    1.10          }
    1.11