[xmp] Fix format list counter

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
master
Claudio Matsuoka 14 years ago
parent 33b9de82e7
commit 9ab6674355
  1. 2
      src/options.c

@ -183,7 +183,7 @@ void get_options(int argc, char **argv, struct options *options)
int i;
xmp_get_format_list(&list);
for (i = 0; list[i] != NULL; i++) {
printf("%d:%s\n", i, list[i]);
printf("%d:%s\n", i + 1, list[i]);
}
exit(EXIT_SUCCESS);
break; }

Loading…
Cancel
Save