From: Angus Leeming Date: Fri, 3 May 2002 10:51:35 +0000 (+0000) Subject: Herbert-friendly debug comment. X-Git-Tag: 1.6.10~19283 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=520de7ddc69296329dd26c3d2dc63de9eddca97e;p=features.git Herbert-friendly debug comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4124 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/support/ChangeLog b/src/support/ChangeLog index dbf1a8ced4..b8b6d6cddf 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,8 @@ +2002-05-03 Herbert Voss + + * filetools.C (getExtFromContents): only print the first 60 chars of + the scanned-string when debugging. + 2002-05-02 Lars Gullik Bjønnes * lyxstring.C: close to typo fix. diff --git a/src/support/filetools.C b/src/support/filetools.C index fd72e7450f..38fbfa2c40 100644 --- a/src/support/filetools.C +++ b/src/support/filetools.C @@ -1045,7 +1045,9 @@ string const getExtFromContents(string const & filename) } getline(ifs, str); - lyxerr[Debug::GRAPHICS] << "Scanstring: " << str << endl; + + lyxerr[Debug::GRAPHICS] << "Scanstring: " << str.substr(0,60) + << endl; string const stamp = str.substr(0,2); if (firstLine && str.size() >= 2) {