openbsd-ports/games/eboard/patches/patch-mainwindow_cc
2003-08-21 01:57:09 +00:00

15 lines
459 B
Plaintext

$OpenBSD: patch-mainwindow_cc,v 1.3 2003/08/21 01:57:09 fgsch Exp $
--- mainwindow.cc.orig 2003-08-20 22:49:57.000000000 -0300
+++ mainwindow.cc 2003-08-20 22:49:59.000000000 -0300
@@ -1652,6 +1652,10 @@ void MainWindow::readAvailable(int handl
++loopc;
if (loopc%10 == 9)
gtk_main_iteration();
+
+ if ( (global.network==0) || (global.protocol==0) )
+ break;
+
} while(gotinput);
} else { /* got input from an agent (script) */