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