diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-03-11 12:31:16 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-03-11 13:15:30 +0100 |
commit | a35bce8c2918368353ac9a736d43925a73e284df (patch) | |
tree | f976422b2f8075478b5d67a4fd092b6c4a5a74d5 /crawl-ref/source/version.cc | |
parent | 17940946e038d52e496d3f410307e1a1a8681367 (diff) | |
download | crawl-ref-a35bce8c2918368353ac9a736d43925a73e284df.tar.gz crawl-ref-a35bce8c2918368353ac9a736d43925a73e284df.zip |
Remove EOL.
We were only setting it to "\r\n" on DOS, but according to commens
in #1045, DOS will translate "\n" to "\r\n" automatically for
text output.
Also, the DOS EOL handling was likely broken anyway looking at how
a lot of the linebreaking code only considered "\n".
Fixes issue #1045.
Diffstat (limited to 'crawl-ref/source/version.cc')
-rw-r--r-- | crawl-ref/source/version.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/version.cc b/crawl-ref/source/version.cc index d4af9960f6..c70fe42a93 100644 --- a/crawl-ref/source/version.cc +++ b/crawl-ref/source/version.cc @@ -106,18 +106,18 @@ std::string compilation_info() { std::string out = ""; - out += make_stringf("Compiled with %s on %s at %s" EOL, + out += make_stringf("Compiled with %s on %s at %s\n", Version::Compiler().c_str(), __DATE__, __TIME__); - out += make_stringf("Compiled on OS: %s %s" EOL, + out += make_stringf("Compiled on OS: %s %s\n", Version::BuildOS().c_str(), Version::BuildOSVersion().c_str()); - out += make_stringf("Compiled on machine type: %s" EOL, + out += make_stringf("Compiled on machine type: %s\n", Version::BuildMachine().c_str()); - out += make_stringf("Compiled on processor type: %s" EOL, + out += make_stringf("Compiled on processor type: %s\n", Version::BuildProcessor().c_str()); - out += make_stringf("CLFAGS: %s" EOL, Version::CFLAGS().c_str()); - out += make_stringf("LDFLAGS: %s" EOL, Version::LDFLAGS().c_str()); + out += make_stringf("CLFAGS: %s\n", Version::CFLAGS().c_str()); + out += make_stringf("LDFLAGS: %s\n", Version::LDFLAGS().c_str()); return (out); } |