1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

wmaker: Changed name of parameter in macro WCHECK_STATE

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.
This commit is contained in:
Christophe CURIS
2013-09-29 17:09:54 +02:00
committed by Carlos R. Mafra
parent 28bbf705eb
commit 70c6494c46

View File

@@ -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) {\