summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:23:17 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:23:17 +0900
commite12558f1ed16d3bdb96f7f0fbd05b48eb7558a0e (patch)
tree6115cb3a9b6f61e0295715bfa5d3daf3928ce835 /parser.c
parentbee40b77fc98991b4b6ef33b1e738915bc989ff0 (diff)
replace pol_norm and pol_complement with NO/YES for clarity
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/parser.c b/parser.c
index 04ff5bc..b9e7dec 100644
--- a/parser.c
+++ b/parser.c
@@ -2138,19 +2138,19 @@ static int Go_polarity_42(gchar** response, int channel, char *parameter,char *u
switch (command_type) {
case command_withparam:
if (!strcmp(parameter,"norm") || !strcmp(parameter,"normal")) {
- return Set_Inverted(channel,pol_norm);
+ return Set_Inverted(channel,NO);
} else if (!strcmp(parameter,"comp") || !strcmp(parameter,"complement")
|| !strcmp(parameter,"inv") || !strcmp(parameter,"inverted") )
{
- return Set_Inverted(channel,pol_complement);
+ return Set_Inverted(channel,YES);
} else {
return SyntaxError;
}
break;
case query_simple:
- if (globals.ChannelState[channel].inverted==pol_norm) {
+ if (globals.ChannelState[channel].inverted==NO) {
return query_string(response, "NORM");
} else {
return query_string(response, "COMP");