[hackers] [wmii] Fix bug in last commit || Kris Maglione

From: <hg_AT_suckless.org>
Date: Tue, 6 Jan 2009 01:47:42 +0000 (UTC)

changeset: 2427:e0f00b4adbda
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Jan 05 20:47:41 2009 -0500
files: cmd/wmii/fns.h
description:
Fix bug in last commit

diff -r 331694a2e8d1 -r e0f00b4adbda cmd/wmii/fns.h
--- a/cmd/wmii/fns.h Sun Dec 28 16:20:13 2008 -0500
+++ b/cmd/wmii/fns.h Mon Jan 05 20:47:41 2009 -0500
@@ -13,7 +13,7 @@
 # pragma varargck type "r" void
 #endif
 
-#define _cond(cond, n) __alive++ == n && cond
+#define _cond(cond, n) (cond) && __alive++ == n
 #define _cont(cont) (void)(__alive--, cont)
 
 #define with(type, var) \
Received on Tue Jan 06 2009 - 01:47:42 UTC

This archive was generated by hypermail 2.2.0 : Tue Jan 06 2009 - 01:48:04 UTC