strcat(option_line,option_string);\r
sprintf(option_string," -%s",opt->type);\r
strcat(option_line,option_string);\r
- if(!IS_BUTTON(opt) && strcmp(opt->type,"combo")){\r
+ if(!IS_BUTTON(opt->type) && strcmp(opt->type,"combo")){\r
if(strcmp(opt->type,"check")){\r
sprintf(option_string," %s",opt->value);\r
}else{\r
}\r
strcat(option_line,option_string);\r
}\r
- if(IS_SPIN(opt)){\r
+ if(IS_SPIN(opt->type)){\r
sprintf(option_string," %s",opt->min);\r
strcat(option_line,option_string);\r
}\r
- if(IS_SPIN(opt)){\r
+ if(IS_SPIN(opt->type)){\r
sprintf(option_string," %s",opt->max);\r
strcat(option_line,option_string);\r
}\r