summaryrefslogtreecommitdiff
path: root/tests/rotozoom.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r--tests/rotozoom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index adbd0ae054..bad32995f3 100644
--- a/tests/rotozoom.c
+++ b/tests/rotozoom.c
@@ -279,7 +279,7 @@ int main(int argc, char **argv)
init_demo(argv[2]);
for(i=0;i<DEFAULT_NB_PICT;i++) {
- snprintf(buf, sizeof(buf), "%s%d.pgm", argv[1], i);
+ snprintf(buf, sizeof(buf), "%s%02d.pgm", argv[1], i);
gen_image(i, w, h);
pgmyuv_save(buf, w, h, rgb_tab);
}