Minor fix on indentation.
This commit is contained in:
parent
bfe1b60a49
commit
c93cdcdbbd
@ -1543,8 +1543,8 @@ LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPAR
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
//Added by Jinrong Xie (stonexjr@gmail.com) 12/24/2014
|
//Added by Jinrong Xie <stonexjr at gmail.com> 12/24/2014
|
||||||
//for SpaceNavigator support on Windows.
|
//for SpaceNavigator support on Windows.
|
||||||
case WM_INPUT:
|
case WM_INPUT:
|
||||||
if (fgHasSpaceball())
|
if (fgHasSpaceball())
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@ RAWINPUTDEVICE __fgSpaceball = { 0x01, 0x08, 0x00, 0x00 };
|
|||||||
void fgPlatformInitializeSpaceball(void)
|
void fgPlatformInitializeSpaceball(void)
|
||||||
{
|
{
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
sball_initialized = 1;
|
sball_initialized = 1;
|
||||||
if (!fgStructure.CurrentWindow)
|
if (!fgStructure.CurrentWindow)
|
||||||
{
|
{
|
||||||
sball_initialized = 0;
|
sball_initialized = 0;
|
||||||
@ -188,4 +188,4 @@ void fgSpaceballHandleWinEvent(HWND hwnd, WPARAM wParam, LPARAM lParam)
|
|||||||
__fgSpaceKeystate = dwKeystate;
|
__fgSpaceKeystate = dwKeystate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user