From: Richard Rauch Date: Fri, 31 Oct 2003 11:28:14 +0000 (+0000) Subject: Picked up some stray TABs scattered in this file. X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=cdd464625419c15f32b257753fd1ee16cd02a9b9;p=freeglut Picked up some stray TABs scattered in this file. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@280 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_window.c b/src/freeglut_window.c index e83dd75..cf78fa8 100644 --- a/src/freeglut_window.c +++ b/src/freeglut_window.c @@ -237,8 +237,8 @@ void fgSetWindow ( SFG_Window *window ) window->Window.Device = GetDC( window->Window.Handle ); wglMakeCurrent( window->Window.Device, - window->Window.Context - ); + window->Window.Context + ); } #endif fgStructure.Window = window; @@ -781,7 +781,7 @@ void FGAPIENTRY glutSetIconTitle( const char* title ) #elif TARGET_HOST_WIN32 - SetWindowText( fgStructure.Window->Window.Handle, title ); + SetWindowText( fgStructure.Window->Window.Handle, title ); #endif @@ -819,8 +819,8 @@ void FGAPIENTRY glutReshapeWindow( int width, int height ) */ if ( ! fgStructure.Window->IsMenu ) { - width += GetSystemMetrics( SM_CXSIZEFRAME ) * 2; - height += GetSystemMetrics( SM_CYSIZEFRAME ) * 2 + + width += GetSystemMetrics( SM_CXSIZEFRAME ) * 2; + height += GetSystemMetrics( SM_CYSIZEFRAME ) * 2 + GetSystemMetrics( SM_CYCAPTION ); } }