summaryrefslogtreecommitdiff
path: root/library/statusHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/statusHandler.cpp')
-rw-r--r--library/statusHandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/statusHandler.cpp b/library/statusHandler.cpp
index e19c9904..78dba057 100644
--- a/library/statusHandler.cpp
+++ b/library/statusHandler.cpp
@@ -16,8 +16,7 @@ void updateUiNow()
bool updateUiIsAllowed()
{
static wxLongLong lastExec = 0;
-
- wxLongLong newExec = wxGetLocalTimeMillis();
+ const wxLongLong newExec = wxGetLocalTimeMillis();
if (newExec - lastExec >= UI_UPDATE_INTERVAL) //perform ui updates not more often than necessary
{
bgstack15