From: Michael Stapelberg Date: Sat, 29 Sep 2012 15:25:17 +0000 (+0200) Subject: Fix wrong print statement X-Git-Tag: rgb2rv9~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e73fbef8eaa480eb043bc990a3e0f4198805901c;p=c128-kasse Fix wrong print statement --- diff --git a/src/credit_manager.c b/src/credit_manager.c index 277df54..8230890 100644 --- a/src/credit_manager.c +++ b/src/credit_manager.c @@ -78,7 +78,7 @@ void deposit_credit(char *input) { credit->credit += deposit; toggle_videomode(); - cprintf("%d Cent eingezahlt fuer %s.\r\nRestguthaben: %d\r\n", deposit, credit->nickname); + cprintf("%d Cent eingezahlt fuer %s.\r\nRestguthaben: %d\r\n", deposit, credit->nickname, credit->credit); sprintf(print_buffer, "%c%s - %d Cent eingezahlt fuer %s. Restguthaben: %d Cent\r", 17, time, deposit, credit->nickname, credit->credit); cprintf("%s", print_buffer); toggle_videomode();