From de8853e67586fe767f2f8901953b76c4a8b2d3ce Mon Sep 17 00:00:00 2001 From: dcnieho Date: Sat, 17 Nov 2012 00:07:30 +0000 Subject: [PATCH] minor cosmetics git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1397 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/mswin/fg_state_mswin.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/freeglut/freeglut/src/mswin/fg_state_mswin.c b/freeglut/freeglut/src/mswin/fg_state_mswin.c index 659ceca..9ce47fa 100644 --- a/freeglut/freeglut/src/mswin/fg_state_mswin.c +++ b/freeglut/freeglut/src/mswin/fg_state_mswin.c @@ -248,9 +248,7 @@ int fgPlatformGlutGet ( GLenum eWhat ) switch( eWhat ) { case GLUT_WINDOW_BORDER_WIDTH: - { - return borderWidth; - } + return borderWidth; case GLUT_WINDOW_HEADER_HEIGHT: /* Need to query for WS_MAXIMIZEBOX to see if we have a title bar, the WS_CAPTION query is also true for a WS_DLGFRAME only... */ return captionHeight;