diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-10 19:12:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-10 19:12:33 +0000 |
commit | 7334ecff1581f0294e6fa7f594f828f85d45abb5 (patch) | |
tree | 5d16997f326a1d6ad0e3921c5ce9623817d55f9a /plugins/Clist_modern/modern_skinbutton.cpp | |
parent | 9242a80a84fa5c96dbadec9594177875aeeec1ac (diff) |
- fix for View mode frame;
- many unneeded spaces removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@893 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_skinbutton.cpp')
-rw-r--r-- | plugins/Clist_modern/modern_skinbutton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_skinbutton.cpp b/plugins/Clist_modern/modern_skinbutton.cpp index d4a7dfe5f5..8bae142748 100644 --- a/plugins/Clist_modern/modern_skinbutton.cpp +++ b/plugins/Clist_modern/modern_skinbutton.cpp @@ -582,8 +582,8 @@ typedef struct _MButton MButton * Buttons = NULL;
DWORD ButtonsCount = 0;
-#define _center_h( rc ) (( (rc)->right + (rc)->left ) >> 1)
-#define _center_v( rc ) (( (rc)->bottom + (rc)->top ) >> 1)
+#define _center_h( rc ) (((rc)->right + (rc)->left ) >> 1)
+#define _center_v( rc ) (((rc)->bottom + (rc)->top ) >> 1)
int ModernSkinButton_AddButton(HWND parent,
char * ID,
@@ -639,7 +639,7 @@ int ModernSkinButton_AddButton(HWND parent, 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");
- bct->ID = mir_strdup(ID);
+ bct->ID=mir_strdup(ID);
bct->Hint = mir_tstrdup(Hint);
Buttons[ButtonsCount].bct = bct;
Buttons[ButtonsCount].hwnd = NULL;
|