Fixed bug where if statement didn't have parenthesis, causing it to just exit
This commit is contained in:
parent
84f5249b6e
commit
e8c0cc0f71
@ -266,10 +266,11 @@ int fgPlatformGetModifiers (int mod)
|
|||||||
|
|
||||||
void fgPlatformProcessSingleEvent ( void )
|
void fgPlatformProcessSingleEvent ( void )
|
||||||
{
|
{
|
||||||
if(fgStructure.CurrentWindow == NULL)
|
if(fgStructure.CurrentWindow == NULL) {
|
||||||
//XXX Is this right? Would this just cause a whole lot of busy looping while we wait for events?
|
//XXX Is this right? Would this just cause a whole lot of busy looping while we wait for events?
|
||||||
LOGW("fgPlatformProcessSingleEvent: Missing current window. Skipping event processing");
|
LOGW("fgPlatformProcessSingleEvent: Missing current window. Skipping event processing");
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
int domain;
|
int domain;
|
||||||
do
|
do
|
||||||
|
Reference in New Issue
Block a user