From a1fb8b2989d4a3232139ce46fea46f8a86d7c845 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 3 Jan 1995 16:22:44 +0000 Subject: [PATCH] Corretta set_cursor git-svn-id: svn://10.65.10.50/trunk@817 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/applicat.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/applicat.cpp b/include/applicat.cpp index 520528ce5..dba4818b2 100755 --- a/include/applicat.cpp +++ b/include/applicat.cpp @@ -646,18 +646,18 @@ bool TApplication::config() void TApplication::set_cursor(bool w) { - static _count = 0; + static int _count = 0; if (w) { - _count++; - if (_count == 1) + if (_count == 0) ::set_cursor(TASK_WIN, CURSOR_WAIT); + _count++; } else { _count--; #ifdef DBG - if (_count >= 0) + if (_count < 0) yesnofatal_box("end_wait without matching begin_wait"); #endif if (_count == 0)