mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive
This commit is contained in:
@@ -399,11 +399,11 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
|
||||
/* If we are completing at the begin of the line, skip the ': ' we added */
|
||||
if (tb_buf == pre_buf) {
|
||||
offset = 0;
|
||||
length = (tb->size - 1) - 2;
|
||||
length = (tb->max_bytes - 1) - 2;
|
||||
} else {
|
||||
/* Else, find the place we are completing at */
|
||||
offset = strlen(pre_buf) + 1;
|
||||
length = (tb->size - 1) - offset;
|
||||
length = (tb->max_bytes - 1) - offset;
|
||||
}
|
||||
|
||||
/* Compare if we have a match */
|
||||
|
Reference in New Issue
Block a user