opt->type = Button;
} else if(p = strstr(opt->name, " -save")) {
opt->type = SaveButton;
- } else if(p = strstr(opt->name, " -reset")) {
- opt->type = ResetButton;
} else return FALSE;
*p = 0; // terminate option name
// now look if the command-line options define a setting for this engine option.
if(j < 0) break;\r
if( activeCps->option[j].type == SaveButton)\r
GetOptionValues(hDlg, activeCps);\r
- else if( activeCps->option[j].type == ResetButton) {\r
- ClearOptions(activeCps);\r
- EndDialog( hDlg, 0 );\r
- } else if( activeCps->option[j].type != Button) break;\r
+ else if( activeCps->option[j].type != Button) break;\r
snprintf(buf, MSG_SIZ, "option %s\n", activeCps->option[j].name);\r
SendToProgram(buf, activeCps);\r
}\r