From 4368b1a640fde01f92a675f2e159a8a71d5c0a66 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 14 Aug 2003 18:11:01 +0000 Subject: [PATCH] fixed stupid typo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/gsocket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index d47d711cc7..2ca87dd305 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -753,7 +753,7 @@ int GSocket_Write(GSocket *socket, const char *buffer, int size) */ GSocketEventFlags GSocket_Select(GSocket *socket, GSocketEventFlags flags) { - if (USE_GUI()) + if (!USE_GUI()) { GSocketEventFlags result = 0; fd_set readfds; @@ -860,7 +860,7 @@ GSocketEventFlags GSocket_Select(GSocket *socket, GSocketEventFlags flags) return (result & flags); } - else /* !USE_GUI() */ + else /* USE_GUI() */ { assert(socket != NULL); return flags & socket->m_detected; -- 2.45.2