]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATCDCL/commlist.cxx
Merge branch 'tbm/graphics-bug' into next
[flightgear.git] / src / ATCDCL / commlist.cxx
index 4d27e1c794fcde4ccca9f43e182f7306c7a9ee2e..034461d3de43865fb22cad0a7746f84072eaacaa 100644 (file)
@@ -81,13 +81,7 @@ bool FGCommList::LoadComms(const SGPath& path) {
     // read in each line of the file
     fin >> skipcomment;
 
-#ifdef __MWERKS__
-    char c = 0;
-    while ( fin.get(c) && c != '\0' ) {
-        fin.putback(c);
-#else
     while ( !fin.eof() ) {
-#endif
         ATCData a;
                fin >> a;
                if(a.type == INVALID) {