diff --git a/utils/hgr-utils/png2tiles.c b/utils/hgr-utils/png2tiles.c index cbcdf36a..626ae8d2 100644 --- a/utils/hgr-utils/png2tiles.c +++ b/utils/hgr-utils/png2tiles.c @@ -383,6 +383,7 @@ int main(int argc, char **argv) { int c,x,y,z,color1; unsigned char *image; unsigned char byte1,byte2,colors[14]; + int i; char *filename; @@ -412,6 +413,11 @@ int main(int argc, char **argv) { exit(1); } + for(i=optind;i