From badbad99a926c8d5c30a9ca5bdc1157cfcec94a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 18 Jan 2007 16:04:01 +0000 Subject: [PATCH] Messed up logic last time - the cursor should now work as expected again in BTextView. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19856 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/Window.cpp b/src/kits/interface/Window.cpp index d74f36a744..aad0c3d657 100644 --- a/src/kits/interface/Window.cpp +++ b/src/kits/interface/Window.cpp @@ -1455,7 +1455,7 @@ void BWindow::SetPulseRate(bigtime_t rate) { // TODO: What about locking?!? - if (rate < 0 || rate == fPulseRate || !(rate == 0 ^ fPulseRunner == NULL)) + if (rate < 0 || (rate == fPulseRate && !(rate == 0 ^ fPulseRunner == NULL))) return; fPulseRate = rate;