Преглед изворни кода

libpng: fix bug on count of files generated

Douglas Andreani пре 5 година
родитељ
комит
e089a0c504
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      libpng/png.c

+ 1 - 1
libpng/png.c

@@ -29,7 +29,7 @@ int main(int argc, char** argv){
 
 	srand48(1000);
 	
-	for (count=0; count<(1000);count++){
+	for (count=0; count<(c);count++){
 
 		for (i=0;i<width;i++){
 			rows[i].p = malloc (height * sizeof(pix));