Commit b94821fb authored by Richard Buckley's avatar Richard Buckley

Fixed bug whereby default build options were not being used.

Version 0.08. Tagged as 'builder-0_08'
parent 48a0dc2c
/* (0.07)
/* (0.08)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.07
#define Module_MajorVersion_CMHG 0.08
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 25 Sep 1997
#define Module_Date_CMHG 07 Oct 1997
#define Module_MajorVersion "0.07"
#define Module_MajorVersion "0.08"
#define Module_MinorVersion ""
#define Module_Date "25 Sep 1997"
#define Module_Date "07 Oct 1997"
......@@ -208,7 +208,6 @@ read_defaults(void)
} else if (cstrcmp(argv[0],"opt")==0) {
for (i=1; i<argc; i++) {
for (j=0; j<(sizeof(options)/sizeof(option_t)); j++) {
options[j].def = 0;
if (strcmp(options[j].name,argv[i])==0) {
options[j].def = 1;
break;
......@@ -395,15 +394,9 @@ window_show(int event_code,ToolboxEvent *event,
if (!used_default_options) {
/* sort out default rom build options */
for (i=0; i<(sizeof(options)/sizeof(option_t)); i++) {
if (options[i].def) {
ERR_CHECK_RETURN(err,optionbutton_set_state(0,window_options_id,
options[i].id,1));
} else {
ERR_CHECK_RETURN(err,optionbutton_set_state(0,window_options_id,
options[i].id,0));
}
ERR_CHECK_RETURN(err,optionbutton_set_state(0,window_options_id,
options[i].id,options[i].def));
}
used_default_options = TRUE;
}
} else if (id_block->self_id == window_build_id) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment