From a76b00c511db1d3529bba51475a24ca93d12913e Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 5 Jan 2021 18:07:25 +0300 Subject: client gui: add support windows --- src/client/gui/OO_FLTK.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/client/gui/OO_FLTK.cpp') diff --git a/src/client/gui/OO_FLTK.cpp b/src/client/gui/OO_FLTK.cpp index 6492481..89e88e3 100644 --- a/src/client/gui/OO_FLTK.cpp +++ b/src/client/gui/OO_FLTK.cpp @@ -28,7 +28,7 @@ ChatInput::ChatInput(int x, int y, int w, int h, maximum_size(max_usermsg_len); } -void ChatInput::SendMessage(void *user) +void ChatInput::SendMsg(void *user) { if(strlen(value()) < 1) return; @@ -36,7 +36,6 @@ void ChatInput::SendMessage(void *user) Client *cl = (Client *)user; if(cl != 0) { // send message to server const char *message = value(); - printf("U sent: %s\n", message); cl->SendMessage(message); } -- cgit v1.2.3-18-g5258