]> mj.ucw.cz Git - moe.git/commitdiff
Open-data parts are numbered with two-digit numbers.
authorMartin Mares <mj@ucw.cz>
Mon, 2 Jul 2007 21:13:17 +0000 (23:13 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 2 Jul 2007 21:13:17 +0000 (23:13 +0200)
submit/tasks.c

index e60b40c3d6bb2c362f457a07b0c4e6f487651b40..f0e933381f405ffa546be4462c7112d4711f0a49 100644 (file)
@@ -34,7 +34,7 @@ tasks_conf_commit(void *p UNUSED)
       if (t->open_data)
        {
          for (uns i=1; i<=t->open_data; i++)
-           simp_append(cf_pool, &t->parts)->s = mp_printf(cf_pool, "%d", i);
+           simp_append(cf_pool, &t->parts)->s = mp_printf(cf_pool, "%02d", i);
          t->extensions = &open_data_extensions;
        }
       else