summaryrefslogtreecommitdiff
path: root/win/Clrpopup.cpp
diff options
context:
space:
mode:
authorLeo2010-07-06 03:44:13 +0000
committerLeo2010-07-06 03:44:13 +0000
commit66b3f4b8d9f1b606eb4a6e893db9f293cbeb95a3 (patch)
treebd52c975b3e21d67283606cdd2ffa1930a7a18a0 /win/Clrpopup.cpp
parent8015474b3733e1b1731eec671a421a63077f3b14 (diff)
Fixes for VC8.
git-svn-id: http://svn.leocad.org/branches/leocad-0.75@953 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Clrpopup.cpp')
-rw-r--r--win/Clrpopup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/Clrpopup.cpp b/win/Clrpopup.cpp
index aa3daa9..2c3b563 100644
--- a/win/Clrpopup.cpp
+++ b/win/Clrpopup.cpp
@@ -788,7 +788,7 @@ void CColorPopup::DrawCell(CDC* pDC, int nIndex)
if (y == rect.top) y += x%4;
pDC->SetPixel (x,y,RGB(255,255,255));
}
- for (y = rect.bottom; y > rect.top; y-=4)
+ for (int y = rect.bottom; y > rect.top; y-=4)
{
if (y == rect.bottom) y-= x%4;
pDC->SetPixel (x,y,RGB(255,255,255));