commit e930804c4bfab78e34dc4c49b760d80c3cd22d0d
parent 6d93884d85ec5d3d40dbdcb4b42ff6020378d99a
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Fri, 9 Jun 2023 09:29:25 -0700
Do not print message on quit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) {