From 0c4085e862028e5c14902678c16177c3a6673a33 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Mon, 20 Feb 2017 18:07:55 +0100 Subject: [PATCH] Cosmetic: rename the main event function --- src/blupi.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/blupi.cpp b/src/blupi.cpp index 715f60c..f3273e0 100644 --- a/src/blupi.cpp +++ b/src/blupi.cpp @@ -299,7 +299,7 @@ static void FinishObjects (void) } } -static void WindowProc2 (const SDL_Event &event) +static void HandleEvent (const SDL_Event &event) { POINT totalDim, iconDim; @@ -646,8 +646,7 @@ static void initGettext () SDL_Event event; while (SDL_WaitEvent (&event)) { - WindowProc2 (event); - + HandleEvent (event); if (event.type == SDL_QUIT) break; }