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
This commit is contained in:
Axel Dörfler
2007-01-18 16:04:01 +00:00
parent 8c3e03d3c6
commit badbad99a9
+1 -1
View File
@@ -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;