Codechange: use Textbuf::GetText() to access the buffer / hide Textbuf::buf

This commit is contained in:
Rubidium
2025-01-16 20:44:29 +01:00
committed by rubidium42
parent 55fa14cb06
commit 4b2051a1c1
17 changed files with 43 additions and 43 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ struct NetworkChatWindow : public Window {
{
switch (widget) {
case WID_NC_SENDBUTTON: /* Send */
SendChat(this->message_editbox.text.buf, this->dtype, this->dest);
SendChat(this->message_editbox.text.GetText(), this->dtype, this->dest);
[[fallthrough]];
case WID_NC_CLOSE: /* Cancel */