]> git.lyx.org Git - features.git/commitdiff
Herbert-friendly debug comment.
authorAngus Leeming <leeming@lyx.org>
Fri, 3 May 2002 10:51:35 +0000 (10:51 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 3 May 2002 10:51:35 +0000 (10:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4124 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/ChangeLog
src/support/filetools.C

index dbf1a8ced426136aff4827fd368b1e3aada54b7b..b8b6d6cddf6c95b582a48dc6fb285b8ab37bf787 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-03  Herbert Voss  <voss@perce.de>
+
+       * filetools.C (getExtFromContents): only print the first 60 chars of
+       the scanned-string when debugging.
+
 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
        * lyxstring.C: close to typo fix.
index fd72e7450fd3270d1a389c704fdd9e3b417edabf..38fbfa2c405fa3b33e9e19af47e4581d21b293e8 100644 (file)
@@ -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) {