Fix some allignment issues noticed in github

This commit is contained in:
Sam Ellicott 2021-03-13 14:12:19 -05:00
parent 793e72df42
commit ad23066976

View file

@ -330,15 +330,9 @@ int main( int argc, char **argv )
WSAStartup( 0x202, &wsaData );
#elif defined( ANDROID )
int hasperm = AndroidHasPermissions( "READ_EXTERNAL_STORAGE" );
if ( !hasperm )
{
AndroidRequestAppPermissions( "READ_EXTERNAL_STORAGE" );
}
int haspermInternet = AndroidHasPermissions( "INTERNET" );
if ( !haspermInternet )
{
AndroidRequestAppPermissions( "INTERNET" );
}
if ( !hasperm ) AndroidRequestAppPermissions( "READ_EXTERNAL_STORAGE" );
if ( !haspermInternet ) AndroidRequestAppPermissions( "INTERNET" );
#else
// Linux
#endif
@ -351,9 +345,9 @@ int main( int argc, char **argv )
// Initialize Rawdraw
int frames = 0;
double ThisTime;
double SecToWait;
double LastFPSTime = OGGetAbsoluteTime();
double LastFrameTime = OGGetAbsoluteTime();
double SecToWait;
CNFGBGColor = 0x800000;
CNFGDialogColor = 0x444444;