]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetLabel.cpp
Fix bug #6315: counters in insets that don't produce output have ghost values.
[features.git] / src / insets / InsetLabel.cpp
index 3b1560f673f5d5aff6f8bbeb40e618fa7c6d3d74..926297e56fc1a2078502a6e521597b82b5a02c60 100644 (file)
@@ -135,8 +135,8 @@ void InsetLabel::updateBuffer(ParIterator const & par, UpdateType utype)
                        counter_value_ = cnts.theCounter(active_counter_, lang->code());
                        pretty_counter_ = cnts.prettyCounter(active_counter_, lang->code());
                } else {
-                       counter_value_ = from_ascii("??");
-                       pretty_counter_ = from_ascii("??");
+                       counter_value_ = from_ascii("#");
+                       pretty_counter_ = from_ascii("#");
                }
        }
 }