summaryrefslogtreecommitdiff
path: root/src/textbuf_type.h
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2012-09-10 18:42:34 +0000
committerzuu <zuu@openttd.org>2012-09-10 18:42:34 +0000
commitbacad1478a9412c5a056c13eacf1328a960fec0f (patch)
treeb5f6d6f775434315c8d099db425aba39202b9848 /src/textbuf_type.h
parentae28432e623d55fd495f0f456045c2509f1c8383 (diff)
downloadopenttd-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.h1
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();