Use CR for line termination on Macintosh, and don't call flush() for an endl. r dougt.

This commit is contained in:
sfraser%netscape.com 1999-10-05 03:00:13 +00:00
parent 05b9f1f4ff
commit 68d29f8de0

View File

@ -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