From 70dc3f14505fc035c5b46f7c2a2b5e24591cb47a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=BCndgens?= Date: Mon, 19 Jan 2015 11:15:06 +0100 Subject: [PATCH] Fixed the bug that caused the duplicate marble lately. --- converter/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/converter/main.cc b/converter/main.cc index 81faafc..248c9ec 100644 --- a/converter/main.cc +++ b/converter/main.cc @@ -54,8 +54,8 @@ int main( int argc, char *argv[] ){ } //delete compositions that were not in the png anymore - for (int i=1; i<=conv.getNextID()[1]; i++){ - for (int j=1; j<256; j++){ + for (int i=0; i<=conv.getNextID()[1]; i++){ + for (int j=0; j<256; j++){ if (! idFound[i][j]){ conv.deleteComposition(i,j); }