Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ec35e58

Browse files
committedJan 25, 2016
Correct conditional operator precedence
1 parent 56a4c5d commit ec35e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ void config_init (char *fname, struct audio_s *p_audio_config,
12331233
/* Later, we check for valid letters and no more than one letter if + specified. */
12341234

12351235
for (pc = t; *pc != '\0'; pc++) {
1236-
if ( ! isalpha(*pc) && ! *pc == '+') {
1236+
if ( ! isalpha(*pc) && ! (*pc == '+')) {
12371237
text_color_set(DW_COLOR_ERROR);
12381238
dw_printf ("Line %d: Demodulator type can only contain letters and + character.\n", line);
12391239
}

0 commit comments

Comments
 (0)
Please sign in to comment.