From 5ac40cba9cece18aa6e200ca3e2321c49388bdaa Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Thu, 2 Feb 2017 18:03:48 +0100 Subject: [PATCH] Remove obsolete message handling --- blupi.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/blupi.cpp b/blupi.cpp index 87ad4c0..9d4a59b 100644 --- a/blupi.cpp +++ b/blupi.cpp @@ -313,7 +313,6 @@ LRESULT CALLBACK WindowProc2 (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, const SDL_Event *event) { - static HINSTANCE hInstance; POINT totalDim, iconDim; // La touche F10 envoie un autre message pour activer @@ -332,10 +331,6 @@ LRESULT CALLBACK WindowProc2 (HWND hWnd, UINT message, switch( message ) { - case WM_CREATE: - hInstance = ((LPCREATESTRUCT)lParam)->hInstance; - return 0; - case MM_MCINOTIFY: OutputDebug("Event MM_MCINOTIFY\n"); if ( g_pEvent->IsMovie() ) // film en cours ?