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