Partly disable pretty counter output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33115 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-01-20 20:50:11 +00:00
parent d853aca254
commit 4dd9a8acf1

View File

@ -553,7 +553,9 @@ docstring Counters::prettyCounter(docstring const & counter,
return from_ascii("??");
Counter const & ctr = it->second;
docstring const & format = ctr.prettyFormat();
if (format.empty()) {
// FIXME We need to "flatten" the format to get proper output,
// but doing so will take a bit of work.
if (true || format.empty()) {
docstring cntrname = translateIfPossible(counter, lang);
return cntrname + " " + theCounter(counter, lang);
}