Picked up some stray TABs scattered in this file.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@280 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
d1bfaa5c4b
commit
5a1317c0f4
@ -237,8 +237,8 @@ void fgSetWindow ( SFG_Window *window )
|
|||||||
window->Window.Device = GetDC( window->Window.Handle );
|
window->Window.Device = GetDC( window->Window.Handle );
|
||||||
wglMakeCurrent(
|
wglMakeCurrent(
|
||||||
window->Window.Device,
|
window->Window.Device,
|
||||||
window->Window.Context
|
window->Window.Context
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
fgStructure.Window = window;
|
fgStructure.Window = window;
|
||||||
@ -781,7 +781,7 @@ void FGAPIENTRY glutSetIconTitle( const char* title )
|
|||||||
|
|
||||||
#elif TARGET_HOST_WIN32
|
#elif TARGET_HOST_WIN32
|
||||||
|
|
||||||
SetWindowText( fgStructure.Window->Window.Handle, title );
|
SetWindowText( fgStructure.Window->Window.Handle, title );
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -819,8 +819,8 @@ void FGAPIENTRY glutReshapeWindow( int width, int height )
|
|||||||
*/
|
*/
|
||||||
if ( ! fgStructure.Window->IsMenu )
|
if ( ! fgStructure.Window->IsMenu )
|
||||||
{
|
{
|
||||||
width += GetSystemMetrics( SM_CXSIZEFRAME ) * 2;
|
width += GetSystemMetrics( SM_CXSIZEFRAME ) * 2;
|
||||||
height += GetSystemMetrics( SM_CYSIZEFRAME ) * 2 +
|
height += GetSystemMetrics( SM_CYSIZEFRAME ) * 2 +
|
||||||
GetSystemMetrics( SM_CYCAPTION );
|
GetSystemMetrics( SM_CYCAPTION );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user