Patch: Debug messages wrong


Subject: Patch: Debug messages wrong
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sat Jun 16 2001 - 13:12:39 CDT


Very minor but misleading...

Andrew.

-- 
http://linguaphile.sourceforge.net

Index: src/text/ptbl/xp/pd_Document.cpp =================================================================== RCS file: /cvsroot/abi/src/text/ptbl/xp/pd_Document.cpp,v retrieving revision 1.118 diff -u -r1.118 pd_Document.cpp --- src/text/ptbl/xp/pd_Document.cpp 2001/06/13 21:53:55 1.118 +++ src/text/ptbl/xp/pd_Document.cpp 2001/06/16 17:59:21 @@ -110,14 +110,14 @@ { if (!szFilename || !*szFilename) { - UT_DEBUGMSG(("PD_Document::readFromFile -- invalid filename\n")); + UT_DEBUGMSG(("PD_Document::importFile -- invalid filename\n")); return UT_INVALIDFILENAME; } m_pPieceTable = new pt_PieceTable(this); if (!m_pPieceTable) { - UT_DEBUGMSG(("PD_Document::readFromFile -- could not construct piece table\n")); + UT_DEBUGMSG(("PD_Document::importFile -- could not construct piece table\n")); return UT_NOPIECETABLE; } @@ -129,7 +129,7 @@ errorCode = IE_Imp::constructImporter(this, szFilename, (IEFileType) ieft, &pie, &savedAsType); if (errorCode) { - UT_DEBUGMSG(("PD_Document::readFromFile -- could not construct importer\n")); + UT_DEBUGMSG(("PD_Document::importFile -- could not construct importer\n")); return errorCode; } @@ -139,7 +139,7 @@ if (errorCode) { - UT_DEBUGMSG(("PD_Document::readFromFile -- could not import file\n")); + UT_DEBUGMSG(("PD_Document::importFile -- could not import file\n")); return errorCode; }

_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2b25 : Sat Jun 16 2001 - 13:10:42 CDT