Herbert-friendly debug comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4124 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-05-03 10:51:35 +00:00
parent 0f86536740
commit 520de7ddc6
2 changed files with 8 additions and 1 deletions

View 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.

View 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) {