add algorithm counter

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5209 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-09-05 13:19:33 +00:00
parent f17a138278
commit 0959028211
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
* counters.C (Counters): add missing algorithm counter.
* text2.C (setCounter): lookup the counter with layouts latexname
instead of by section number.
(setCounter): use a hackish way to lookup the correct enum

View File

@ -95,6 +95,7 @@ Counters::Counters()
// Float counters:
newCounter("figure");
newCounter("table");
newCounter("algorithm");
}