From: Marco Peereboom Date: Sun, 1 Feb 2009 03:04:45 +0000 (+0000) Subject: no {} around DNPRINTF. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=48f1a28fef7574b9f9cfbaadf7392223babb1f41;p=spectrwm.git no {} around DNPRINTF. --- 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;