From a0ef27a0cd97d53f89def5ed5c94250b92cbd587 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 16 Sep 2014 12:54:16 +0200 Subject: command/list: reset used size after the list has been processed --- src/command/CommandListBuilder.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/command/CommandListBuilder.cxx') diff --git a/src/command/CommandListBuilder.cxx b/src/command/CommandListBuilder.cxx index cc10f7205..4e0a8bd2a 100644 --- a/src/command/CommandListBuilder.cxx +++ b/src/command/CommandListBuilder.cxx @@ -27,6 +27,7 @@ void CommandListBuilder::Reset() { list.clear(); + size = 0; mode = Mode::DISABLED; } -- cgit v1.2.3