summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinbutton.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-06-29 15:09:49 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-06-29 15:09:49 +0000
commit93d082240bd2da251a6c51230061e93780a0e763 (patch)
tree47c4d09ab451b37a7b7b0aaabd12f76aa80c4ba4 /plugins/Clist_modern/src/modern_skinbutton.cpp
parentad377449e8662ecc2f10efcc5fbcbbe62fe76feb (diff)
clist_modern: removed crazy code
git-svn-id: http://svn.miranda-ng.org/main/trunk@17044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinbutton.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_skinbutton.cpp b/plugins/Clist_modern/src/modern_skinbutton.cpp
index a57e469d8f..d0062aecd5 100644
--- a/plugins/Clist_modern/src/modern_skinbutton.cpp
+++ b/plugins/Clist_modern/src/modern_skinbutton.cpp
@@ -558,8 +558,8 @@ int ModernSkinButton_AddButton(HWND parent,
bct->HandleService = mir_strdup(HandeService);
bct->CommandService = mir_strdup(CommandService);
bct->StateService = mir_strdup(StateDefService);
- if (DBkey && &DBkey != '\0') bct->ValueDBSection = mir_strdup(DBkey); else bct->ValueDBSection = NULL;
- if (TypeDef && &TypeDef != '\0') bct->ValueTypeDef = mir_strdup(TypeDef); else bct->ValueTypeDef = mir_strdup("sDefault");
+ if (DBkey && *DBkey != '\0') bct->ValueDBSection = mir_strdup(DBkey); else bct->ValueDBSection = NULL;
+ if (TypeDef && *TypeDef != '\0') bct->ValueTypeDef = mir_strdup(TypeDef); else bct->ValueTypeDef = mir_strdup("sDefault");
bct->ID = mir_strdup(ID);
bct->Hint = mir_tstrdup(Hint);
Buttons[ButtonsCount].bct = bct;