if(j < 0) break;\r
if( activeCps->option[j].type == SaveButton)\r
GetOptionValues(hDlg, activeCps);\r
- else if( activeCps->option[j].type != Button) break;\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
snprintf(buf, MSG_SIZ, "option %s\n", activeCps->option[j].name);\r
SendToProgram(buf, activeCps);\r
}\r