Fixed bug where if statement didn't have parenthesis, causing it to just exit

This commit is contained in:
Rcmaniac25 2013-09-11 14:39:25 -04:00
parent 84f5249b6e
commit e8c0cc0f71

View File

@ -266,10 +266,11 @@ int fgPlatformGetModifiers (int mod)
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?
LOGW("fgPlatformProcessSingleEvent: Missing current window. Skipping event processing");
LOGW("fgPlatformProcessSingleEvent: Missing current window. Skipping event processing");
return;
}
int domain;
do