Make parse.h C++ safe by avoiding "or" keyword
[fio.git] / goptions.c
index 21d642771be3ad881b35bd23aec07c2a146f4b8e..5b5c89ead6995b68c5a40f9bdf7893e372d8ee8b 100644 (file)
@@ -1216,7 +1216,7 @@ static void gopt_handle_str_multi_changed(struct gopt_job_view *gjv,
                        break;
                set = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(m->checks[i]));
                if (set) {
-                       if (vp->or)
+                       if (vp->orval)
                                val |= vp->oval;
                        else
                                val = vp->oval;