From: sECuRE Date: Sat, 28 Jul 2007 18:48:33 +0000 (+0000) Subject: bugfix: printing toggle X-Git-Tag: rgb2rv6~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7478b47cc11e8fff270efebdd19266d98d1e70bc;p=c128-kasse bugfix: printing toggle git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@15 af93e077-1a23-4f1e-9cbe-9382a9d578f5 --- diff --git a/kasse.c b/kasse.c index f1116b0..ab9f396 100644 --- a/kasse.c +++ b/kasse.c @@ -62,7 +62,8 @@ void buy(uc n) { money += status[n].price * einheiten; items_sold += einheiten; // TODO: NULL in nickname des guthabenden ändern - print_log(n, einheiten, NULL); + if (printing == 1) + print_log(n, einheiten, NULL); } }