aboutsummaryrefslogtreecommitdiff
path: root/voerbak/diewertje.c
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-24 09:54:44 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-24 09:54:44 +0100
commit97f4a83cc8d24de4b6c1d16c93e2d955a134ad83 (patch)
treebb0a3cda797a70c4ef5bf6754dd7527d2ec66867 /voerbak/diewertje.c
parent2fe4352955042ef5415f6830d8c9d05d39159b7e (diff)
global verbosity
Diffstat (limited to 'voerbak/diewertje.c')
-rw-r--r--voerbak/diewertje.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/voerbak/diewertje.c b/voerbak/diewertje.c
index 93a8596..6290b5c 100644
--- a/voerbak/diewertje.c
+++ b/voerbak/diewertje.c
@@ -1,8 +1,9 @@
#include <stdio.h>
#include "board.h"
+#include "voerbak.h"
int diewertje(Board *b) {
- printf("Got a diewertje request, from a board that's %dx%d\n", b->width, b->height);
+ verbosity >= 2 && printf("Got a diewertje request, from a board that's %dx%d\n", b->width, b->height);
return 2;
}