From: Diederick Niehorster Date: Fri, 1 Mar 2013 18:43:22 +0000 (+0000) Subject: missed the windowproc return value X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=9a1ee9315ae988fd16d4360fe99aa562de6a94ba;p=freeglut 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 --- 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;