diff options
author | Johannes Schickel | 2012-03-29 02:12:32 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-03-29 02:12:32 +0200 |
commit | 388e04bb6dcdf33ee26c2efe5163642fa17189c0 (patch) | |
tree | e019ca9959bde6ae76580f71c1b351d9a1e9d2ea /gui | |
parent | a7ee1dc42bc288a3748014d9e2c3ec57f61eb079 (diff) | |
download | scummvm-rg350-388e04bb6dcdf33ee26c2efe5163642fa17189c0.tar.gz scummvm-rg350-388e04bb6dcdf33ee26c2efe5163642fa17189c0.tar.bz2 scummvm-rg350-388e04bb6dcdf33ee26c2efe5163642fa17189c0.zip |
GUI: Add TODO/FIXME to PredictiveDialog::handleTickle.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/predictivedialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp index 4ce2a51979..238a832b10 100644 --- a/gui/predictivedialog.cpp +++ b/gui/predictivedialog.cpp @@ -534,6 +534,10 @@ void PredictiveDialog::processBtnActive(ButtonId button) { } void PredictiveDialog::handleTickle() { + // TODO/FIXME: This code does not seem to make any sense. It is only + // triggered when _lastTime is zero and sets _lastTime to zero again + // under some condition. This should really be a nop. Probably this + // code intends to check "_lastTime" instead of "!_lastTime". if (!_lastTime) { if ((_curTime - _lastTime) > kRepeatDelay) { _lastTime = 0; |