From 7478b47cc11e8fff270efebdd19266d98d1e70bc Mon Sep 17 00:00:00 2001 From: sECuRE Date: Sat, 28 Jul 2007 18:48:33 +0000 Subject: [PATCH] bugfix: printing toggle git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@15 af93e077-1a23-4f1e-9cbe-9382a9d578f5 --- kasse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } -- 2.39.5