+2004-10-25 José Matos <jamatos@lyx.org>
+
+ * output_docbook.C (makeCommand): merge two if's that tested the same condition.
+
2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* sgml.C (escapeString): fix warning in a better way
string id = par->getDocbookId();
id = id.empty()? "" : " id = \"" + id + "\"";
- if (bstyle->latexparam().find('#') != string::npos) {
- counters.step(bstyle->counter);
- }
-
if (!bstyle->latexparam().empty()) {
+ counters.step(bstyle->counter);
id = bstyle->latexparam();
if (id.find('#') != string::npos) {
string el = expandLabel(buf.params().getLyXTextClass(),