]> git.mxchange.org Git - flightgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Wed, 3 Jan 2007 10:51:54 +0000 (10:51 +0000)
committerfrohlich <frohlich>
Wed, 3 Jan 2007 10:51:54 +0000 (10:51 +0000)
src/Main/options.cxx: Olaf Flebbe: remove leftover snprintf

src/Main/options.cxx

index 4acc61849fc8a76ab5e85aecfa26a9aeb2deea65..056c185030d3d8077a17ba1206521037b9c20efb 100644 (file)
@@ -1683,13 +1683,6 @@ fgUsage (bool verbose)
                     msg += tmp + '\n';
                     msg.append(32, ' ');
                 }
-                char cstr[96];
-                if (tmp.size() <= 25) {
-                    snprintf(cstr, 96, "   --%-27s", tmp.c_str());
-                } else {
-                    snprintf(cstr, 96, "\n   --%s\n%32c", tmp.c_str(), ' ');
-                }
-
                 // There may be more than one <description> tag assosiated
                 // with one option