testmessage.c should report when message boxes were closed.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 31 May 2015 22:27:46 -0400
changeset 9694b847b89f4a64
parent 9693 e8d9c63536f4
child 9695 363a7880b4f7
testmessage.c should report when message boxes were closed.
test/testmessage.c
     1.1 --- a/test/testmessage.c	Sun May 31 21:50:50 2015 -0400
     1.2 +++ b/test/testmessage.c	Sun May 31 22:27:46 2015 -0400
     1.3 @@ -69,7 +69,7 @@
     1.4              quit(2);
     1.5          }
     1.6      }
     1.7 -    SDL_Log("Pressed button: %d, %s\n", button, button == 1 ? "Cancel" : "OK");
     1.8 +    SDL_Log("Pressed button: %d, %s\n", button, button == -1 ? "[closed]" : button == 1 ? "Cancel" : "OK");
     1.9  
    1.10      if (eventNumber) {
    1.11          SDL_UserEvent event;