Skip to content

Misc fixes for upstream #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct conditional operator precedence
  • Loading branch information
doctaweeks committed Jan 25, 2016
commit ec35e5825a5a2303fdcada4b9eb14bd7ad52440d
2 changes: 1 addition & 1 deletion config.c
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ void config_init (char *fname, struct audio_s *p_audio_config,
/* Later, we check for valid letters and no more than one letter if + specified. */

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