From: Vincent van Ravesteijn Date: Tue, 1 Apr 2014 18:30:36 +0000 (+0200) Subject: Initialize variable to fix Counter 0 problem X-Git-Tag: 2.1.0~81 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3fb7394db8f02e80659eddb134e3ecddc0ba0cfe;p=lyx.git Initialize variable to fix Counter 0 problem Fixes: #9070 --- diff --git a/src/Counters.cpp b/src/Counters.cpp index 5a6b922e5e..5fb4f1b0b3 100644 --- a/src/Counters.cpp +++ b/src/Counters.cpp @@ -182,7 +182,7 @@ Counter::StringMap & Counter::flatLabelStrings(bool in_appendix) const } -Counters::Counters() : appendix_(false), subfloat_(false) +Counters::Counters() : appendix_(false), subfloat_(false), longtable_(false) { layout_stack_.push_back(0); counter_stack_.push_back(from_ascii(""));