Fixed the bug that caused the duplicate marble lately.

This commit is contained in:
Steffen Fündgens 2015-01-19 11:15:06 +01:00
parent 1cef3d4d0a
commit 70dc3f1450

View File

@ -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);
}