Skip to content

Commit

Permalink
Fixed regression in saving of filter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mickelson committed Sep 19, 2015
1 parent 2a43539 commit 35b63af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fe_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,19 +504,19 @@ void FeFilter::save( std::ofstream &f, const char *filter_tag ) const
if ( m_sort_by != FeRomInfo::LAST_INDEX )
{
f << "\t\t" << std::setw(20) << std::left
<< indexStrings[1] << ' ' << FeRomInfo::indexStrings[ m_sort_by ] << std::endl;
<< indexStrings[SortBy] << ' ' << FeRomInfo::indexStrings[ m_sort_by ] << std::endl;
}

if ( m_reverse_order != false )
{
f << "\t\t" << std::setw(20) << std::left
<< indexStrings[2] << " true" << std::endl;
<< indexStrings[ReverseOrder] << " true" << std::endl;
}

if ( m_list_limit != 0 )
{
f << "\t\t" << std::setw(20) << std::left
<< indexStrings[3] << " " << as_str( m_list_limit ) << std::endl;
<< indexStrings[ListLimit] << " " << as_str( m_list_limit ) << std::endl;
}

for ( std::vector<FeRule>::const_iterator itr=m_rules.begin();
Expand Down

0 comments on commit 35b63af

Please sign in to comment.