From: Martin Mares Date: Mon, 2 Jul 2007 21:13:17 +0000 (+0200) Subject: Open-data parts are numbered with two-digit numbers. X-Git-Tag: python-dummy-working~317 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ee19c493bdd848c8352c9ed17871039786b7b374;p=eval.git Open-data parts are numbered with two-digit numbers. --- diff --git a/submit/tasks.c b/submit/tasks.c index e60b40c..f0e9333 100644 --- a/submit/tasks.c +++ b/submit/tasks.c @@ -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