diff --git a/freeglut/freeglut/freeglut-1.3/freeglut_state.c b/freeglut/freeglut/freeglut-1.3/freeglut_state.c index bd0b1e6..7da99fa 100644 --- a/freeglut/freeglut/freeglut-1.3/freeglut_state.c +++ b/freeglut/freeglut/freeglut-1.3/freeglut_state.c @@ -381,10 +381,10 @@ int FGAPIENTRY glutGet( GLenum eWhat ) */ if ( fgStructure.Window->Parent == NULL ) { - winRect.left += GetSystemMetrics( SM_CXSIZEFRAME ) - 1; - winRect.right -= GetSystemMetrics( SM_CXSIZEFRAME ) - 1; - winRect.top += GetSystemMetrics( SM_CYSIZEFRAME ) - 1 + GetSystemMetrics( SM_CYCAPTION ); - winRect.bottom -= GetSystemMetrics( SM_CYSIZEFRAME ) + 1; + winRect.left += GetSystemMetrics( SM_CXSIZEFRAME ); + winRect.right -= GetSystemMetrics( SM_CXSIZEFRAME ); + winRect.top += GetSystemMetrics( SM_CYSIZEFRAME ) + GetSystemMetrics( SM_CYCAPTION ); + winRect.bottom -= GetSystemMetrics( SM_CYSIZEFRAME ); } /*