Sort styles after lowercasing them rather than before so they actually get in the right order.
Originally committed to SVN as r4624.
This commit is contained in:
parent
cd0378519d
commit
af5d34590a
1 changed files with 1 additions and 1 deletions
|
@ -65,8 +65,8 @@ void AssFixStylesFilter::Init() {
|
|||
/// @param export_dialog
|
||||
void AssFixStylesFilter::ProcessSubs(AssFile *subs, wxWindow *export_dialog) {
|
||||
wxArrayString styles = subs->GetStyles();
|
||||
styles.Sort();
|
||||
std::for_each(styles.begin(), styles.end(), std::mem_fun_ref(&wxString::MakeLower));
|
||||
styles.Sort();
|
||||
size_t n = styles.Count();
|
||||
|
||||
for (entryIter cur=subs->Line.begin();cur!=subs->Line.end();cur++) {
|
||||
|
|
Loading…
Reference in a new issue