From e7e1b4cc159a00d5fd3218401a737a3364d65d8e Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Thu, 2 Feb 2017 18:02:05 +0100 Subject: [PATCH] Cosmetic --- blupi.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/blupi.cpp b/blupi.cpp index 94bc757..87ad4c0 100644 --- a/blupi.cpp +++ b/blupi.cpp @@ -766,10 +766,8 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, { MSG msg; - if ( !DoInit(hInstance, lpCmdLine, nCmdShow) ) - { + if (!DoInit(hInstance, lpCmdLine, nCmdShow)) return false; - } SDL_TimerID updateTimer = SDL_AddTimer (g_timerInterval, [] (Uint32 interval, void *param) -> Uint32 { @@ -799,10 +797,7 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, SDL_Event event; while (SDL_PollEvent (&event)) - { WindowProc2 (nullptr, 0, 0, 0, &event); - } - } out: