summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-11 11:16:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-11 11:16:53 +0000
commitbdbe16b2dc399ec25bdd0c38525bbc30eb67b7c9 (patch)
treec05864e1b35fe4ffb2a59a9675d8bfcee68f060e /src
parent7b6fab706d573bee87ed4df56d4ad42714318e4c (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@17282 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/extraicons.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/extraicons.cpp b/src/mir_app/src/extraicons.cpp
index 28579f98b4..2135b6ec68 100644
--- a/src/mir_app/src/extraicons.cpp
+++ b/src/mir_app/src/extraicons.cpp
@@ -338,11 +338,11 @@ static void EI_PostCreate(BaseExtraIcon *extra, const char *name, int flags, int
mir_snprintf(setting, "Slot_%s", name);
int slot = db_get_w(NULL, MODULE_NAME, setting, -100);
- if (slot == 0xFFFF)
+ if (slot == EMPTY_EXTRA_ICON)
slot = -1;
else if (slot == -100) {
if (flags & EIF_DISABLED_BY_DEFAULT) {
- db_set_w(NULL, MODULE_NAME, setting, 0xFFFF);
+ db_set_w(NULL, MODULE_NAME, setting, EMPTY_EXTRA_ICON);
slot = -1;
}
else slot = 1;