summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_skinselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/modern_skinselector.cpp')
-rw-r--r--plugins/Clist_modern/modern_skinselector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_skinselector.cpp b/plugins/Clist_modern/modern_skinselector.cpp
index 770ae4ae8d..3b4f00ba23 100644
--- a/plugins/Clist_modern/modern_skinselector.cpp
+++ b/plugins/Clist_modern/modern_skinselector.cpp
@@ -235,7 +235,7 @@ int ClearMaskList(LISTMODERNMASK * mmTemplateList)
int DeleteMaskByItID(DWORD mID,LISTMODERNMASK * mmTemplateList)
{
if (!mmTemplateList) return -1;
- if (mID < 0|| mID >= mmTemplateList->dwMaskCnt) return -1;
+ if (mID < 0 || mID >= mmTemplateList->dwMaskCnt) return -1;
if (mmTemplateList->dwMaskCnt == 1)
{
SkinSelector_DeleteMask(&(mmTemplateList->pl_Masks[0]));
@@ -266,8 +266,8 @@ int DeleteMaskByItID(DWORD mID,LISTMODERNMASK * mmTemplateList)
int ExchangeMasksByID(DWORD mID1, DWORD mID2, LISTMODERNMASK * mmTemplateList)
{
if (!mmTemplateList) return 0;
- if (mID1 < 0|| mID1 >= mmTemplateList->dwMaskCnt) return 0;
- if (mID2 < 0|| mID2 >= mmTemplateList->dwMaskCnt) return 0;
+ if (mID1 < 0 || mID1 >= mmTemplateList->dwMaskCnt) return 0;
+ if (mID2 < 0 || mID2 >= mmTemplateList->dwMaskCnt) return 0;
if (mID1 == mID2) return 0;
{
MODERNMASK mm;