summaryrefslogtreecommitdiff
path: root/win/Libdlg.cpp
diff options
context:
space:
mode:
authorLeo2009-02-22 03:39:40 +0000
committerLeo2009-02-22 03:39:40 +0000
commit27815f2cce37721ae1c524669c3e19cff8a50894 (patch)
tree87d40bc85de59359864bd9048f8b67b1d8ee9c9f /win/Libdlg.cpp
parenta8ad39466b19601b4284c2f4e6afa68eccb91b62 (diff)
Fixes for VS 2005.
git-svn-id: http://svn.leocad.org/tags/leocad-0.75@741 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Libdlg.cpp')
-rw-r--r--win/Libdlg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/Libdlg.cpp b/win/Libdlg.cpp
index 7fb05b3..17a0964 100644
--- a/win/Libdlg.cpp
+++ b/win/Libdlg.cpp
@@ -382,8 +382,9 @@ void CLibraryDlg::UpdateList()
for (int i = 0; i < Lib->GetPieceCount(); i++)
{
PieceInfo* Info = Lib->GetPieceInfo(i);
+ int j;
- for (int j = 0; j < Lib->GetNumCategories(); j++)
+ for (j = 0; j < Lib->GetNumCategories(); j++)
{
if (Lib->PieceInCategory(Info, Lib->GetCategoryKeywords(j)))
break;