From: mfranz Date: Sat, 6 Oct 2007 14:56:08 +0000 (+0000) Subject: very funny ... mes is a char*! :-} X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e599cbae3b22cca50b9a6d210a1789e8380d56f5;p=flightgear.git very funny ... mes is a char*! :-} --- diff --git a/src/ATC/tower.cxx b/src/ATC/tower.cxx index 0b71c11ef..fc036748b 100644 --- a/src/ATC/tower.cxx +++ b/src/ATC/tower.cxx @@ -2431,7 +2431,7 @@ string FGTower::GenText(const string& m, int c) { //break; //} //} - if ( mes != "" ) return mes; + if ( mes[0] ) return mes; else return "No transmission found"; }