]> git.sur5r.net Git - c128-kasse/blobdiff - src/itemz.c
handle selling more than 9 items (whole input will be interpreted, not only first...
[c128-kasse] / src / itemz.c
index aec8f4cc03869fe024b4c847275e6c8d5a9d6e46..408c3b4411abe43243d08a2a6bcf2686825a1e90 100644 (file)
@@ -28,7 +28,7 @@ static void itemz_print_screen() {
                        cprintf("Error: Could not format price %d\r\n", status.status[i].price);
                        exit(1);
                }
-               cprintf("Eintrag %x: %s (%s, %d mal verkauft)\r\n",
+               cprintf("Eintrag %2d: %s (%s, %d mal verkauft)\r\n",
                        i, status.status[i].item_name, buffer, status.status[i].times_sold);
        }
        cprintf("\r\nn) Neu d) Loeschen s) Speichern m) Credit Modus q) Beenden\r\n");