]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/transmissionlist.cxx
any wind < 1kt is "calm", not just 0.0
[flightgear.git] / src / ATC / transmissionlist.cxx
index 2f138edc90d670856e2dda4bd14e843f0301031e..cb24e50ca7aee8fba8e5d1b75e2933e81c577749 100644 (file)
@@ -17,7 +17,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
@@ -257,8 +257,7 @@ string FGTransmissionList::gen_text(const atc_type &station, const TransCode cod
                        break;
                }
        }
-       if ( mes != "" ) return mes;
-       else return "No transmission found";
+       return mes[0] ? mes : "No transmission found";
 }