From 520de7ddc69296329dd26c3d2dc63de9eddca97e Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 3 May 2002 10:51:35 +0000 Subject: [PATCH] Herbert-friendly debug comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4124 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/ChangeLog | 5 +++++ src/support/filetools.C | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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) { -- 2.39.2