From e930804c4bfab78e34dc4c49b760d80c3cd22d0d Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Fri, 9 Jun 2023 09:29:25 -0700 Subject: [PATCH] Do not print message on quit --- src/uxnemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxnemu.c b/src/uxnemu.c index fe31750..2509f76 100644 --- a/src/uxnemu.c +++ b/src/uxnemu.c @@ -374,7 +374,7 @@ handle_events(Uxn *u) while(SDL_PollEvent(&event)) { /* Window */ if(event.type == SDL_QUIT) - return system_error("Run", "Quit."); + return 0; else if(event.type == SDL_WINDOWEVENT && event.window.event == SDL_WINDOWEVENT_EXPOSED) redraw(); else if(event.type == SDL_DROPFILE) {