]> gitweb.hhaalo.de Git - discspan.git/commitdiff
dreistellige Durchnummerierung
authorBastian Dehn <hhaalo@arcor.de>
Fri, 17 Jul 2015 10:42:52 +0000 (12:42 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 17 Jul 2015 10:42:52 +0000 (12:42 +0200)
discspan.c

index 8ee71fca7dded3e52002771382d88416dc265151..b5b1b6750fa16c28441dbecb8978ac851be109a6 100644 (file)
@@ -148,7 +148,7 @@ int main(int argc, char *argv[])
        filecopy(input, rest);
        while(exists(rest) == 0)
        {
-               sprintf(outname, "%s%d",output , num++);
+               sprintf(outname, "%s%03d",output , num++);
                if(exists(rest) == 0)
                {
                        filecopy(rest, work);