From 0959028211a8a8cfaf56cc2f07ab1c159f2153ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Thu, 5 Sep 2002 13:19:33 +0000 Subject: [PATCH] add algorithm counter git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5209 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 2 ++ src/counters.C | 1 + 2 files changed, 3 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 561a89ca75..aa8d7506f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2002-09-05 Lars Gullik Bjønnes + * 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 diff --git a/src/counters.C b/src/counters.C index 5b0de59417..8415c45081 100644 --- a/src/counters.C +++ b/src/counters.C @@ -95,6 +95,7 @@ Counters::Counters() // Float counters: newCounter("figure"); newCounter("table"); + newCounter("algorithm"); } -- 2.39.2