summaryrefslogtreecommitdiff
path: root/spectro/instappsup.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectro/instappsup.c')
-rw-r--r--spectro/instappsup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spectro/instappsup.c b/spectro/instappsup.c
index 0762bbe..d2ce7ff 100644
--- a/spectro/instappsup.c
+++ b/spectro/instappsup.c
@@ -401,7 +401,7 @@ inst_code inst_handle_calibrate(
printf("\n");
/* If optional calib. and user wants to skip it */
/* Loop back to calibrate() with inst_calc_optional_flag still set */
- if ((calc & inst_calc_optional_flag) != 0 && ch == 's' || ch == 'S') {
+ if ((calc & inst_calc_optional_flag) != 0 && (ch == 's' || ch == 'S')) {
printf("Skipped\n");
goto oloop;
}