diff options
author | zuu <zuu@openttd.org> | 2012-09-10 18:42:34 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2012-09-10 18:42:34 +0000 |
commit | bacad1478a9412c5a056c13eacf1328a960fec0f (patch) | |
tree | b5f6d6f775434315c8d099db425aba39202b9848 /src/textbuf_type.h | |
parent | ae28432e623d55fd495f0f456045c2509f1c8383 (diff) | |
download | openttd-bacad1478a9412c5a056c13eacf1328a960fec0f.tar.xz |
(svn r24519) -Codechange [FS#5203]: Refactor character removal code of text edit
Diffstat (limited to 'src/textbuf_type.h')
-rw-r--r-- | src/textbuf_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textbuf_type.h b/src/textbuf_type.h index 194c241ad..1a404ad58 100644 --- a/src/textbuf_type.h +++ b/src/textbuf_type.h @@ -39,6 +39,7 @@ struct Textbuf { void UpdateSize(); private: + bool CanDelChar(bool backspace); void DelChar(bool backspace); bool CanMoveCaretLeft(); WChar MoveCaretLeft(); |