From 48f1a28fef7574b9f9cfbaadf7392223babb1f41 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sun, 1 Feb 2009 03:04:45 +0000 Subject: [PATCH] no {} around DNPRINTF. --- scrotwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrotwm.c b/scrotwm.c index 595b207..b09ba56 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -2029,9 +2029,10 @@ manage_window(Window id) if (prop && win->transient == 0) { DNPRINTF(SWM_D_PROP, "got property _SWM_WS=%s\n", prop); ws_idx = strtonum(prop, 0, 9, &errstr); - if (errstr) + if (errstr) { DNPRINTF(SWM_D_EVENT, "window idx is %s: %s", errstr, prop); + } ws = &r->s->ws[ws_idx]; } else ws = r->ws; -- 1.7.10.4