Do not print message on quit

This commit is contained in:
Devine Lu Linvega 2023-06-09 09:29:25 -07:00
parent 6d93884d85
commit e930804c4b
1 changed files with 1 additions and 1 deletions

View File

@ -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) {