summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinengine.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-30 12:03:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-30 12:03:09 +0000
commitdafcac872a4631fef8d3ba4c8e895e4316b88814 (patch)
tree20596125354c65d1e6858d249ab17abb1dbb6e56 /plugins/Clist_modern/src/modern_skinengine.cpp
parent94e565e4774327b30af368e7aa3bfc0c7cace5b9 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1274 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinengine.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinengine.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp
index d51972abc3..0351e8c2e5 100644
--- a/plugins/Clist_modern/src/modern_skinengine.cpp
+++ b/plugins/Clist_modern/src/modern_skinengine.cpp
@@ -748,9 +748,9 @@ BOOL ske_SetRectOpaque(HDC memdc,RECT *fr, BOOL force)
for ( int x = 0; x < width; x++ )
{
*pColumn = 255;
- pColumn += 4;
+ pColumn += 4;
}
- pLine -= bmp.bmWidthBytes;
+ pLine -= bmp.bmWidthBytes;
}
if (f)
{
@@ -1852,7 +1852,7 @@ static BOOL ske_ReadTGAImageData(void * From, DWORD fromSize, BYTE * destBuf, DW
fromCount += 4;
}
else fread (rgba, sizeof (BYTE), 4, fp);
- for (i=0; i < size; ++i, ptr += 4)
+ for (i=0; i < size; ++i, ptr += 4)
{
ptr[2] = rgba[2];
ptr[1] = rgba[1];
@@ -1862,7 +1862,7 @@ static BOOL ske_ReadTGAImageData(void * From, DWORD fromSize, BYTE * destBuf, DW
}
else
{ /* not run-length packet */
- for (i=0; i < size; ++i, ptr += 4)
+ for (i=0; i < size; ++i, ptr += 4)
{
ptr[0] = from? from[fromCount++]:(BYTE)fgetc (fp);
ptr[1] = from? from[fromCount++]:(BYTE)fgetc (fp);
@@ -2843,7 +2843,7 @@ static int ske_AlphaTextOut (HDC hDC, LPCTSTR lpString, int nCount, RECT * lpRec
// Calc sizes and offsets
- textSize.cx += 2; // CORRECTION: for italic
+ textSize.cx += 2; // CORRECTION: for italic
int drx = 0; // x-axis offset of draw point
@@ -2881,8 +2881,8 @@ static int ske_AlphaTextOut (HDC hDC, LPCTSTR lpString, int nCount, RECT * lpRec
textSize.cy = workRectHeight;
}
- textSize.cx += 4; // CORRECTION: for effects ???
- textSize.cy += 4; // CORRECTION: for effects ???
+ textSize.cx += 4; // CORRECTION: for effects ???
+ textSize.cy += 4; // CORRECTION: for effects ???
if ( textSize.cx > 0 && textSize.cy > 0 ) // Ok we need to paint
{