From 4dd9a8acf17b13b38de5a03722e6cb1f6c43b7be Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 20 Jan 2010 20:50:11 +0000 Subject: [PATCH] Partly disable pretty counter output. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33115 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Counters.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Counters.cpp b/src/Counters.cpp index c06e9a7f9f..c8e82ca393 100644 --- a/src/Counters.cpp +++ b/src/Counters.cpp @@ -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); } -- 2.39.2