summaryrefslogtreecommitdiff
path: root/win/Print.cpp
diff options
context:
space:
mode:
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;
}