author | Darkvater |
Thu, 18 Jan 2007 14:08:56 +0000 | |
changeset 5974 | 7de3ff0166f8 |
parent 5973 | 1a4cc06c6c64 |
child 5975 | 9c8308a17804 |
src/openttd.cpp | file | annotate | diff | comparison | revisions |
--- a/src/openttd.cpp Thu Jan 18 14:06:30 2007 +0000 +++ b/src/openttd.cpp Thu Jan 18 14:08:56 2007 +0000 @@ -174,7 +174,13 @@ p = GetDriverList(p, lastof(buf)); + /* ShowInfo put output to stderr, but version information should go + * to stdout; this is the only exception */ +#if !defined(WIN32) && !defined(WIN64) + printf("%s\n", buf); +#else ShowInfo(buf); +#endif }