summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/Common.h')
-rw-r--r--plugins/PluginUpdater/src/Common.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h
index b829e92eae..1c9282481e 100644
--- a/plugins/PluginUpdater/src/Common.h
+++ b/plugins/PluginUpdater/src/Common.h
@@ -101,13 +101,19 @@ struct PlugOptions
int Period;
};
-#define DEFAULT_UPDATEICONS 0
#define DEFAULT_UPDATEONSTARTUP 1
-#define DEFAULT_ONLYONCEADAY 1
#define DEFAULT_UPDATEONPERIOD 0
#define DEFAULT_PERIOD 1
#define DEFAULT_PERIODMEASURE 1
+#if MIRANDA_VER < 0x0A00
+ #define DEFAULT_UPDATEICONS 1
+ #define DEFAULT_ONLYONCEADAY 0
+#else
+ #define DEFAULT_UPDATEICONS 0
+ #define DEFAULT_ONLYONCEADAY 1
+#endif
+
#define DEFAULT_UPDATE_URL "http://miranda-ng.org/distr/stable/x%platform%"
#define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x%platform%"
#define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.now.im/pdb_x%platform%/"