fix ScreenOptionsMaster::ExportOption ROW_CONFIG and ROW_SAVE_TO_PROFILE with NAV_FIRST_CHOICE_GOES_DOWN

This commit is contained in:
Chris Danford
2004-01-14 06:38:36 +00:00
parent 1f1540db50
commit e382b89cc2
+4 -4
View File
@@ -372,12 +372,12 @@ void ScreenOptionsMaster::ImportOption( const OptionRowData &row, const OptionRo
case ROW_CONFIG:
{
int iSelection = hand.opt->Get( row.choices );
SelectExactlyOne( iSelection+(row.bMultiSelect?1:0), vbSelectedOut );
SelectExactlyOne( iSelection+(NAV_FIRST_CHOICE_GOES_DOWN?1:0), vbSelectedOut );
return;
}
case ROW_SAVE_TO_PROFILE:
SelectExactlyOne( 0+(row.bMultiSelect?1:0), vbSelectedOut );
SelectExactlyOne( 0+(NAV_FIRST_CHOICE_GOES_DOWN?1:0), vbSelectedOut );
return;
default:
@@ -450,7 +450,7 @@ int ScreenOptionsMaster::ExportOption( const OptionRowData &row, const OptionRow
case ROW_CONFIG:
{
int sel = GetOneSelection( vbSelected );
int sel = GetOneSelection(vbSelected) - (NAV_FIRST_CHOICE_GOES_DOWN?1:0);
/* Get the original choice. */
int Original = hand.opt->Get( row.choices );
@@ -471,7 +471,7 @@ int ScreenOptionsMaster::ExportOption( const OptionRowData &row, const OptionRow
case ROW_SAVE_TO_PROFILE:
{
int sel = GetOneSelection( vbSelected );
int sel = GetOneSelection(vbSelected) - (NAV_FIRST_CHOICE_GOES_DOWN?1:0);
if( sel == 1 )
{