summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-04-06 19:16:39 +0000
committerDarkvater <darkvater@openttd.org>2006-04-06 19:16:39 +0000
commit3a1cef5af86ffbd07367c393dda68ce850f5cc0c (patch)
tree105f6fa1c5657f4ed055e96d9f0cf86053caf556
parentb68b9b149a5a0c969de94f192420d953c14b1109 (diff)
downloadopenttd-3a1cef5af86ffbd07367c393dda68ce850f5cc0c.tar.xz
(svn r4302) - Fix: s/maxlength/maxwidth of course, the buffer size is always set. Comment-change only
-rw-r--r--misc_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 3026a0d71..402940d2f 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -808,8 +808,8 @@ void DeleteTextBufferAll(Textbuf *tb)
}
/**
- * Insert a character to a textbuffer. If maxlength of the Textbuf is zero,
- * we don't care about the screenlength but only about the physical
+ * Insert a character to a textbuffer. If maxwidth of the Textbuf is zero,
+ * we don't care about the visual-length but only about the physical
* length of the string
* @param tb @Textbuf type to be changed
* @param key Character to be inserted