From 4b473c3708bf8e9c8dd42eec1759b825119b947f Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Mon, 22 Jul 2002 21:34:32 +0000 Subject: [PATCH] Fix for bugscape bug 17315: Help menu customizations aren't in MacOSX (r=smeredith) --- cck/ib/ib.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cck/ib/ib.cpp b/cck/ib/ib.cpp index 930fac093146..2eb94918aa03 100644 --- a/cck/ib/ib.cpp +++ b/cck/ib/ib.cpp @@ -1341,7 +1341,10 @@ void ModifyHelpMenu(CString inputFile, CString outputFile) while (!srcf.eof()) { - srcf.getline(tempbuf,MAX_SIZE); + if (curPlatform == "Mac OS") + srcf.getline(tempbuf,MAX_SIZE,'\r'); + else + srcf.getline(tempbuf,MAX_SIZE); dstf << tempbuf << "\n"; if ((CString(tempbuf).Find(searchstr)) != -1) {