From: daveluff Date: Mon, 3 Mar 2003 11:43:49 +0000 (+0000) Subject: IRIX fixes from Erik Hofman X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8b8afeb78f72986ad8c52b527b86ba7fbe638f7;p=flightgear.git IRIX fixes from Erik Hofman --- diff --git a/src/ATC/transmission.cxx b/src/ATC/transmission.cxx index 3e52c970c..bc95781a4 100644 --- a/src/ATC/transmission.cxx +++ b/src/ATC/transmission.cxx @@ -52,7 +52,7 @@ TransPar FGTransmission::Parse() { for ( i=0; i < msglen; ++i ) { if ( TransText.c_str()[i] != ' ' ) { if ( TransText.c_str()[i] != ',' ) tokens[tkn] += TransText.c_str()[i]; - } else if ( tokens[tkn] != "" ) { + } else if ( !tokens[tkn].empty() ) { if ( tkn <= 20 ) { tkn += 1; } else { @@ -71,7 +71,7 @@ TransPar FGTransmission::Parse() { } else if ( tokens[i] == "landing" ) { tpar.intention = "landing"; for ( j=i+1; j<=i+2; ++j ) { - if ( tokens[j] != "" ) { + if ( !tokens[j].empty() ) { toklen = strlen( tokens[j].c_str() ); bool aid = true; for ( k=0; k #endif +#include // bcopy() + #include #include #include