summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-17 16:20:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-17 16:20:20 +0000
commitc61eff4bc0a9ebdfb43b8e68b345fa53456378a5 (patch)
tree7c9d224d57b7a912e6282db4ffb53a09f66e5142 /plugins/PluginUpdater/src/Utils.cpp
parent3cc2e824092b0b542b3d1857bb742514560b0f32 (diff)
bunch of fixes for updater:
- fix to update FingerPrint icons; - fix to move files across different disks; - five nasty clutches removed; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2336 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Utils.cpp')
-rw-r--r--plugins/PluginUpdater/src/Utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp
index da09a0846e..c94730da3b 100644
--- a/plugins/PluginUpdater/src/Utils.cpp
+++ b/plugins/PluginUpdater/src/Utils.cpp
@@ -188,7 +188,7 @@ BOOL AllowUpdateOnStartup()
time_t now = time(NULL);
time_t was = DBGetContactSettingDword(NULL, MODNAME, "LastUpdate", 0);
- if((now - was) < 86400)
+ if ((now - was) < 86400)
return FALSE;
}
return TRUE;
@@ -205,7 +205,7 @@ LONG PeriodToMilliseconds(const int period, BYTE& periodMeasure)
default:
// hour
- if(periodMeasure != 0)
+ if (periodMeasure != 0)
periodMeasure = 0;
result *= 60 * 60;
break;