From 9a1ee9315ae988fd16d4360fe99aa562de6a94ba Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Fri, 1 Mar 2013 18:43:22 +0000 Subject: [PATCH] missed the windowproc return value git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1547 7f0cb862-5218-0410-a997-914c9d46530a --- src/mswin/fg_main_mswin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mswin/fg_main_mswin.c b/src/mswin/fg_main_mswin.c index c9c0ccf..ea56131 100644 --- a/src/mswin/fg_main_mswin.c +++ b/src/mswin/fg_main_mswin.c @@ -663,6 +663,7 @@ LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPAR fghRedrawWindow( window ); EndPaint( hWnd, &ps ); } + lRet = 0; /* As per docs, should return 0 */ } break; -- 1.7.10.4