mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Use CR for line termination on Macintosh, and don't call flush() for an endl. r dougt.
This commit is contained in:
parent
05b9f1f4ff
commit
68d29f8de0
@ -420,9 +420,11 @@ nsOutputStream& nsEndl(nsOutputStream& os)
|
||||
{
|
||||
#ifdef XP_PC
|
||||
os.write("\r\n", 2);
|
||||
#elif defined (XP_MAC)
|
||||
os.put('\r');
|
||||
#else
|
||||
os.put('\n');
|
||||
#endif
|
||||
os.flush();
|
||||
//os.flush();
|
||||
return os;
|
||||
} // nsEndl
|
||||
|
Loading…
Reference in New Issue
Block a user