sdl: minor code cleanup

This commit is contained in:
punkrockguy318 2012-03-05 17:41:03 +00:00
parent b09e9ac184
commit e900502eaf
1 changed files with 5 additions and 11 deletions

View File

@ -765,18 +765,12 @@ int main(int argc, char *argv[])
#ifdef _GTK
if(noGui == 0)
{
gtk_init(&argc, &argv);
{
gtk_init(&argc, &argv);
InitGTKSubsystem(argc, argv);
}
#endif
#ifdef _GTK
if(noGui == 0)
{
while(gtk_events_pending())
while(gtk_events_pending())
gtk_main_iteration_do(FALSE);
}
}
#endif
if(romIndex >= 0)