1
0
Fork 0

Alex Perry : Minor bug fix patch for terrasync

This commit is contained in:
fredb 2009-08-15 17:13:06 +00:00 committed by Tim Moore
parent 0590333e53
commit 282ec8ddec

View file

@ -458,7 +458,7 @@ int main( int argc, char **argv ) {
int last_lat = nowhere;
int last_lon = nowhere;
bool recv_msg = false;
char synced_other = 'K';
char synced_other = 'J';
while ( true ) {
recv_msg = false;
@ -506,7 +506,7 @@ int main( int argc, char **argv ) {
cout << "Waiting for FGFS to finish startup" << endl;
}
char c;
while ( !isdigit( c = synced_other++ ) && !isupper( c ) );
while ( !isdigit( c = ++synced_other ) && !isupper( c ) );
char dir[512];
snprintf( dir, 512, "Airports/%c", c );