summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index f6b290e344..16ef3c95f9 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -3394,7 +3394,7 @@ static command_type _get_next_cmd()
if (is_userfunction(keyin))
{
- run_macro(get_userfunction(keyin));
+ run_macro(get_userfunction(keyin).c_str());
return (CMD_NEXT_CMD);
}