diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-20 05:47:52 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-20 05:47:52 +0000 |
commit | 826d3ffff46a67cbb812df9f279ab0b79f4e7e47 (patch) | |
tree | 89d09e39cfb1869536ad1b6212eace569887d2de /crawl-ref/source/acr.cc | |
parent | d3f595570c5eb87303bec25ac01392753ccc9bac (diff) | |
download | crawl-ref-826d3ffff46a67cbb812df9f279ab0b79f4e7e47.tar.gz crawl-ref-826d3ffff46a67cbb812df9f279ab0b79f4e7e47.zip |
Was clearing the list of remembered get_input_line() lines at the
wrong time.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2157 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 35c9b08124..77d6fa8ed3 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1276,11 +1276,6 @@ static void input() && !crawl_state.cmd_repeat_start); crawl_state.input_line_curr = 0; - if (!crawl_state.is_repeating_cmd() - && !crawl_state.doing_prev_cmd_again) - { - crawl_state.input_line_strs.clear(); - } { // Enable the cursor to read input. The cursor stays on while @@ -1299,6 +1294,7 @@ static void input() && !crawl_state.is_replaying_keys()) { crawl_state.prev_cmd = cmd; + crawl_state.input_line_strs.clear(); } if (cmd != CMD_MOUSE_MOVE) |