mirror of https://github.com/OpenTTD/OpenTTD
(svn r4302) - Fix: s/maxlength/maxwidth of course, the buffer size is always set. Comment-change only
parent
b68b9b149a
commit
3a1cef5af8
|
@ -808,8 +808,8 @@ void DeleteTextBufferAll(Textbuf *tb)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Insert a character to a textbuffer. If maxlength of the Textbuf is zero,
|
* Insert a character to a textbuffer. If maxwidth of the Textbuf is zero,
|
||||||
* we don't care about the screenlength but only about the physical
|
* we don't care about the visual-length but only about the physical
|
||||||
* length of the string
|
* length of the string
|
||||||
* @param tb @Textbuf type to be changed
|
* @param tb @Textbuf type to be changed
|
||||||
* @param key Character to be inserted
|
* @param key Character to be inserted
|
||||||
|
|
Loading…
Reference in New Issue