X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=blobdiff_plain;f=gnushogi%2Ftcontrl.c;h=00a2032ef0d2ff8f3d1618a0d4cd2c42eb24b7d0;hp=a9ec0d346a20f9f3c0d08e0f89083df4e84eaf03;hb=1907f35d3370f971df16e40dec4135110386a84c;hpb=2e0ba7d65fd8be45d46122e07ca246a762e1edb6 diff --git a/gnushogi/tcontrl.c b/gnushogi/tcontrl.c index a9ec0d3..00a2032 100644 --- a/gnushogi/tcontrl.c +++ b/gnushogi/tcontrl.c @@ -346,7 +346,7 @@ CheckForTimeout(int score, int globalscore, int Jscore, int zwndw) #endif if (flag.timeout) - ShowMessage("timeout"); + dsp->ShowMessage("timeout"); } @@ -366,7 +366,7 @@ ElapsedTime(ElapsedTime_mode iop) struct timeval tv; #endif - PollForInput(); + dsp->PollForInput(); #ifdef HAVE_GETTIMEOFDAY gettimeofday(&tv, NULL); @@ -411,6 +411,6 @@ ElapsedTime(ElapsedTime_mode iop) #ifdef QUIETBACKGROUND if (!background) #endif - UpdateClocks(); + dsp->UpdateClocks(); } }