diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-04-03 23:12:51 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-04-04 00:23:48 +0200 |
commit | 3d6dd413fe21a3ca0f0d71daa18f12bc7faa9694 (patch) | |
tree | a89cd8fad7e9a45a1b6824f8cf0a1761ce03bd46 /crawl-ref/source/cio.h | |
parent | 09b5222a26359a00371d394ac2fa9d09d6a176e5 (diff) | |
download | crawl-ref-3d6dd413fe21a3ca0f0d71daa18f12bc7faa9694.tar.gz crawl-ref-3d6dd413fe21a3ca0f0d71daa18f12bc7faa9694.zip |
Fix nowrap_eol_cprintf() overshooting in some cases.
It's used only in four places, none of them can be actually triggered
currently, but might be in the future.
Diffstat (limited to 'crawl-ref/source/cio.h')
-rw-r--r-- | crawl-ref/source/cio.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/cio.h b/crawl-ref/source/cio.h index 6a188d3296..726cfd4b10 100644 --- a/crawl-ref/source/cio.h +++ b/crawl-ref/source/cio.h @@ -48,8 +48,7 @@ int m_getch(); int unmangle_direction_keys(int keyin, KeymapContext keymap = KMC_DEFAULT, bool fake_ctrl = true, bool fake_shift = true); -int nowrapcprintf(int wrapcol, const char *s, ...); -int nowrap_eol_cprintf(const char *s, ...); +void nowrap_eol_cprintf(const char *s, ...); // Returns zero if user entered text and pressed Enter, otherwise returns the // key pressed that caused the exit, usually Escape. |