Usermode/AxWin3 - Fixed bug with underlined items in menus
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / main.c
index a9c34b7..b6fcf49 100644 (file)
@@ -53,7 +53,6 @@ int main(int argc, char *argv[])
        }
        
        Video_Setup();
-//     Interface_Init();
        IPC_Init();
        Input_Init();
        
@@ -88,7 +87,7 @@ int main(int argc, char *argv[])
                IPC_FillSelect(&nfds, &fds);
                
                nfds ++;
-               if( select(nfds, &fds, NULL, NULL, NULL) == -1 ) {
+               if( _SysSelect(nfds, &fds, NULL, NULL, NULL, THREAD_EVENT_IPCMSG) == -1 ) {
                        _SysDebug("ERROR: select() returned -1");
                        return -1;
                }

UCC git Repository :: git.ucc.asn.au