From: Christophe CURIS <[email protected]>
The name will be a problem with next change because it uses a too
common word which will be useful at a better place.
Took the opportunity to rewitre the check in the human logical
thinking order to make it easier to read.
---
src/WindowMaker.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/WindowMaker.h b/src/WindowMaker.h
index ec8d746..473b881 100644
--- a/src/WindowMaker.h
+++ b/src/WindowMaker.h
@@ -238,7 +238,7 @@ typedef enum {
} wprog_state;
-#define WCHECK_STATE(state) (state == WProgramState)
+#define WCHECK_STATE(chk_state) (WProgramState == (chk_state))
#define WCHANGE_STATE(nstate) {\
--
1.8.4.rc3
--
To unsubscribe, send mail to [email protected].