summaryrefslogtreecommitdiff
path: root/win/Print.cpp
diff options
context:
space:
mode:
authorLeo2010-07-06 03:44:13 +0000
committerLeo2010-07-06 03:44:13 +0000
commit66b3f4b8d9f1b606eb4a6e893db9f293cbeb95a3 (patch)
treebd52c975b3e21d67283606cdd2ffa1930a7a18a0 /win/Print.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/Print.cpp')
-rw-r--r--win/Print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/Print.cpp b/win/Print.cpp
index 6f693f8..496f891 100644
--- a/win/Print.cpp
+++ b/win/Print.cpp
@@ -204,7 +204,7 @@ static void PrintCatalogThread (CWnd* pParent, CFrameWnd* pMainFrame)
start.next = NULL;
- for (j = 0; j < pLib->GetPieceCount (); j++)
+ for (int j = 0; j < pLib->GetPieceCount (); j++)
{
char* desc = pLib->GetPieceInfo(j)->m_strDescription;
@@ -231,7 +231,7 @@ static void PrintCatalogThread (CWnd* pParent, CFrameWnd* pMainFrame)
if (PD->PrintRange())
{
- for (j = 0; j < (int)(nStartPage - 1)*rows*cols; j++)
+ for (int j = 0; j < (int)(nStartPage - 1)*rows*cols; j++)
if (node)
node = node->next;
}