summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/screen.cpp10
-rw-r--r--client/screen.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/client/screen.cpp b/client/screen.cpp
index a0dc0dfa..dc334559 100644
--- a/client/screen.cpp
+++ b/client/screen.cpp
@@ -88,7 +88,7 @@ RedScreen::RedScreen(Application& owner, int id, const std::string& name, int wi
, _update_by_timer (true)
, _size_locked (false)
, _menu_needs_update (false)
- , _forec_update_timer (0)
+ , _force_update_timer (0)
, _update_timer (new UpdateTimer(this))
, _composit_area (NULL)
, _update_mark (1)
@@ -402,7 +402,7 @@ void RedScreen::periodic_update()
if (is_dirty()) {
need_update = true;
} else {
- if (!_forec_update_timer) {
+ if (!_force_update_timer) {
_owner.deactivate_interval_timer(*_update_timer);
_periodic_update = false;
}
@@ -742,14 +742,14 @@ void RedScreen::on_stop_key_interception()
void RedScreen::enter_modal_loop()
{
- _forec_update_timer++;
+ _force_update_timer++;
activate_timer();
}
void RedScreen::exit_modal_loop()
{
- ASSERT(_forec_update_timer > 0)
- _forec_update_timer--;
+ ASSERT(_force_update_timer > 0)
+ _force_update_timer--;
}
void RedScreen::pre_migrate()
diff --git a/client/screen.h b/client/screen.h
index 6c470ca1..19efffb8 100644
--- a/client/screen.h
+++ b/client/screen.h
@@ -179,7 +179,7 @@ private:
bool _update_by_timer;
bool _size_locked;
bool _menu_needs_update;
- int _forec_update_timer;
+ int _force_update_timer;
AutoRef<UpdateTimer> _update_timer;
RedDrawable* _composit_area;
uint64_t _update_mark;