summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/macro.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index e220e95432..4f9e8cbf45 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -405,7 +405,7 @@ static void macro_del( macromap &mapref, keyseq key )
*/
static void macro_buf_add( const keyseq &actions, bool reverse = false )
{
- keyseq act(actions.size());
+ keyseq act;
bool need_more_reset = false;
for (keyseq::const_iterator i = actions.begin(); i != actions.end();
++i)