summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-28 12:52:46 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-28 12:52:46 +0000
commit431848df80d80f851b7a2e8ac36247ef1c771543 (patch)
tree9777635704a7ba81f7a4d4815a7db0194573e1d6 /crawl-ref/source/macro.cc
parent7c77ddbf2a9f0c56d9832e11780cc8449da2d0bb (diff)
downloadcrawl-ref-431848df80d80f851b7a2e8ac36247ef1c771543.tar.gz
crawl-ref-431848df80d80f851b7a2e8ac36247ef1c771543.zip
Call flush_prev_message() before getch(), cancelable_get_line() and
mpr_formatted_output(). Fixes 2647846. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9275 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/macro.cc')
-rw-r--r--crawl-ref/source/macro.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index c81dd4330c..a2cb695cb4 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -663,6 +663,7 @@ static keyseq getch_mul( int (*rgetch)() = NULL )
*/
int getchm( int (*rgetch)() )
{
+ flush_prev_message();
return getchm( KC_DEFAULT, rgetch );
}