]> git.lyx.org Git - features.git/commitdiff
Partly disable pretty counter output.
authorRichard Heck <rgheck@comcast.net>
Wed, 20 Jan 2010 20:50:11 +0000 (20:50 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 20 Jan 2010 20:50:11 +0000 (20:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33115 a592a061-630c-0410-9148-cb99ea01b6c8

src/Counters.cpp

index c06e9a7f9f4497742f83fc2f01a7b1bb0bb87872..c8e82ca39350832861d6c858be68629d26cdcf1f 100644 (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);
        }