mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Some debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2438 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d7525e9740
commit
fb2300f658
@ -1,3 +1,7 @@
|
||||
2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* insetlatexaccent.C (checkContents): Add some debug messages
|
||||
|
||||
2001-08-07 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* insetert.C (read): don't use InsetCollapsable::read as we don't
|
||||
|
@ -47,7 +47,10 @@ void InsetLatexAccent::checkContents()
|
||||
{
|
||||
candisp = false;
|
||||
|
||||
if (contents.empty() || contents.length() < 2) return;
|
||||
if (contents.empty() || contents.length() < 2) {
|
||||
lyxerr[Debug::KEY] << "Cannot decode: " << contents << endl;
|
||||
return;
|
||||
}
|
||||
|
||||
// REMOVE IN 0.13
|
||||
// Dirty Hack for backward compability. remove in 0.13 (Lgb)
|
||||
@ -87,7 +90,10 @@ void InsetLatexAccent::checkContents()
|
||||
contents = tmp;
|
||||
}
|
||||
}
|
||||
if (contents[0] != '\\') return; // demand that first char is a '\\'
|
||||
if (contents[0] != '\\') { // demand that first char is a '\\'
|
||||
lyxerr[Debug::KEY] << "Cannot decode: " << contents << endl;
|
||||
return;
|
||||
}
|
||||
|
||||
lyxerr[Debug::KEY] << "Decode: " << contents << endl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user