summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/hdr
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-16 14:23:28 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-16 14:23:28 +0000
commit581a7a4fca5155decdc48ee1972af806d24c6ceb (patch)
tree9b9a9be8923231a1ac8a073480d432456ea312a2 /plugins/Clist_modern/src/hdr
parent8677ac8db6aa7528fdb84bf3cd8a996a3f45e254 (diff)
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/hdr')
-rw-r--r--plugins/Clist_modern/src/hdr/modern_commonheaders.h6
-rw-r--r--plugins/Clist_modern/src/hdr/modern_effectenum.h68
-rw-r--r--plugins/Clist_modern/src/hdr/modern_log.h2
3 files changed, 38 insertions, 38 deletions
diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h
index ab4108520f..f1e5cbcce0 100644
--- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h
+++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h
@@ -290,19 +290,19 @@ public:
HashStringKeyNoCase(const char* szKey)
{
- _strKey = _strdup(szKey);
+ _strKey = mir_strdup(szKey);
_CreateHashKey();
}
HashStringKeyNoCase(const HashStringKeyNoCase& hsKey)
{
- _strKey = _strdup(hsKey._strKey);
+ _strKey = mir_strdup(hsKey._strKey);
_dwKey = hsKey._dwKey;
}
HashStringKeyNoCase& operator= (const HashStringKeyNoCase& hsKey)
{
- _strKey = _strdup(hsKey._strKey);
+ _strKey = mir_strdup(hsKey._strKey);
_dwKey = hsKey._dwKey;
}
diff --git a/plugins/Clist_modern/src/hdr/modern_effectenum.h b/plugins/Clist_modern/src/hdr/modern_effectenum.h
index 0a63ffbdce..b15c4a1f11 100644
--- a/plugins/Clist_modern/src/hdr/modern_effectenum.h
+++ b/plugins/Clist_modern/src/hdr/modern_effectenum.h
@@ -20,7 +20,7 @@ typedef struct _MODERNEFFECT
}MODERNEFFECT;
#ifdef _EFFECTENUM_FULL_H
-TCHAR * ModernEffectNames[]=
+TCHAR * ModernEffectNames[] =
#else
TCHAR * _ModernEffectNames[] =
#endif
@@ -35,51 +35,51 @@ TCHAR * _ModernEffectNames[] =
};
#ifdef _EFFECTENUM_FULL_H
-MODERNEFFECTMATRIX ModernEffectsEnum[]={
+MODERNEFFECTMATRIX ModernEffectsEnum[] = {
{ //Shadow at Left
- { 0, 0, 0, 0, 0,
- 0, 4, 16, 4, 4,
- 0, 16, 64, 32, 16,
- 0, 4, 32, 32, 16,
- 0, 4, 16, 16, 16 }, 2,2,2,2,1},
+ { 0, 0, 0, 0, 0,
+ 0, 4, 16, 4, 4,
+ 0, 16, 64, 32, 16,
+ 0, 4, 32, 32, 16,
+ 0, 4, 16, 16, 16 }, 2, 2, 2, 2, 1 },
{ //Shadow at Right
- { 0, 0, 0, 0, 0,
- 4, 4, 16, 4, 0,
- 16, 32, 64, 16, 0,
- 16, 32, 32, 4, 0,
- 16, 16, 16, 4, 0 }, 2,2,2,2,1},
+ { 0, 0, 0, 0, 0,
+ 4, 4, 16, 4, 0,
+ 16, 32, 64, 16, 0,
+ 16, 32, 32, 4, 0,
+ 16, 16, 16, 4, 0 }, 2, 2, 2, 2, 1 },
{ //Outline
- { 0, 0, 0, 0, 0,
- 0, 16, 16, 16, 0,
- 0, 16, 32, 16, 0,
- 0, 16, 16, 16, 0,
- 0, 0, 0, 0, 0 }, 1,1,1,1,1},
+ { 0, 0, 0, 0, 0,
+ 0, 16, 16, 16, 0,
+ 0, 16, 32, 16, 0,
+ 0, 16, 16, 16, 0,
+ 0, 0, 0, 0, 0 }, 1, 1, 1, 1, 1 },
{ //Outline smooth
- { 4, 4, 4, 4, 4,
- 4, 8, 8, 8, 4,
- 4, 8, 32, 8, 4,
- 4, 8, 8, 8, 4,
- 4, 4, 4, 4, 4 }, 2,2,2,2,1},
+ { 4, 4, 4, 4, 4,
+ 4, 8, 8, 8, 4,
+ 4, 8, 32, 8, 4,
+ 4, 8, 8, 8, 4,
+ 4, 4, 4, 4, 4 }, 2, 2, 2, 2, 1 },
{ //Smooth bump
- { -2, 2, 2, 2, 2,
- -2, -16, 16, 16, 2,
- -2, -16, 48, 16, 2,
- -2, -16,-16, 16, 2,
- -2, -2, -2, -2, -2 }, 2,2,2,2,1+0x80},
+ { -2, 2, 2, 2, 2,
+ -2, -16, 16, 16, 2,
+ -2, -16, 48, 16, 2,
+ -2, -16, -16, 16, 2,
+ -2, -2, -2, -2, -2 }, 2, 2, 2, 2, 1 + 0x80 },
{ //Contour thin
- { 0, 0, 0, 0, 0,
- 0, 48, 64, 48, 0,
- 0, 64, 64, 64, 0,
- 0, 48, 64, 48, 0,
- 0, 0, 0, 0, 0 }, 1,1,1,1,1},
+ { 0, 0, 0, 0, 0,
+ 0, 48, 64, 48, 0,
+ 0, 64, 64, 64, 0,
+ 0, 48, 64, 48, 0,
+ 0, 0, 0, 0, 0 }, 1, 1, 1, 1, 1 },
{ //Contour heavy
- { 8, 16, 16, 16, 8,
+ { 8, 16, 16, 16, 8,
16, 64, 64, 64, 16,
16, 64, 64, 64, 16,
16, 64, 64, 64, 16,
- 8, 16, 16, 16, 8 }, 2,2,2,2,1},
+ 8, 16, 16, 16, 8 }, 2, 2, 2, 2, 1 },
};
#endif
diff --git a/plugins/Clist_modern/src/hdr/modern_log.h b/plugins/Clist_modern/src/hdr/modern_log.h
index 468dc5117d..b96eaafd65 100644
--- a/plugins/Clist_modern/src/hdr/modern_log.h
+++ b/plugins/Clist_modern/src/hdr/modern_log.h
@@ -5,7 +5,7 @@
#ifdef _DEBUG
-void Log(const char *file,int line,const char *fmt,...);
+void Log(const char *file, int line, const char *fmt, ...);
#define log0(s) Log(__FILE__,__LINE__,s)
#define log1(s,a) Log(__FILE__,__LINE__,s,a)