X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffg_state_mswin.c;h=9ce47fa5b527a4aae4582dd5b2be851580d4a37c;hb=ffd287a3d20b3fb6f1b74fd7e782ca7eef23a60e;hp=659ceca75f756f516b7818c72b877ff65b59978d;hpb=637e1260edb9068591665330c32407549ca36535;p=freeglut diff --git a/src/mswin/fg_state_mswin.c b/src/mswin/fg_state_mswin.c index 659ceca..9ce47fa 100644 --- a/src/mswin/fg_state_mswin.c +++ b/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;