From bdbe16b2dc399ec25bdd0c38525bbc30eb67b7c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 11 Sep 2016 11:16:53 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@17282 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_app/src/extraicons.cpp | 4 ++-- 1 file 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; -- cgit v1.2.3