diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:58:10 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:58:10 +0200 |
commit | fefe20351d0720683990b666584b6879c90bd37d (patch) | |
tree | 8ab90520ae2123ac84293b0f9cec006317e5fc01 /library/statusHandler.cpp | |
parent | 1.18 (diff) | |
download | FreeFileSync-fefe20351d0720683990b666584b6879c90bd37d.tar.gz FreeFileSync-fefe20351d0720683990b666584b6879c90bd37d.tar.bz2 FreeFileSync-fefe20351d0720683990b666584b6879c90bd37d.zip |
1.19
Diffstat (limited to 'library/statusHandler.cpp')
-rw-r--r-- | library/statusHandler.cpp | 3 |
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 { |