diff options
-rw-r--r-- | test/test_utils.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_utils.h b/test/test_utils.h index 7d33601..1689843 100644 --- a/test/test_utils.h +++ b/test/test_utils.h @@ -173,8 +173,7 @@ printEvent(const PuglEvent* event, const char* prefix, const bool verbose) event->motion.x, event->motion.y); default: - fprintf(stderr, "%sUnknown event type %u\n", prefix, event->type); - break; + return PRINT("%sUnknown event type %d\n", prefix, (int)event->type); } } |