Skip to content

Commit 1208bb5

Browse files
committed
Padding with 0s instead of spaces in output file names
1 parent 9a382d9 commit 1208bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/postpic_export.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ int pp_parse_export_options(int * argc, char ** argv[], pp_export_options * opts
7575

7676
char * image_name(const char * prefix, int num)
7777
{
78-
sprintf(filenamebuf, "%s%3d.jpg", prefix, num);
78+
sprintf(filenamebuf, "%s%03d.jpg", prefix, num);
7979
return filenamebuf;
8080
}
8181

0 commit comments

Comments
 (0)