Preferences: Use the translated t_string values...
...to sort Advanced Preferences instead of the C values (Pointed out by AI0867 on IRC.)
This commit is contained in:
parent
0e14ce3c11
commit
948eb74c33
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ struct advanced_preferences_sorter
|
|||
{
|
||||
bool operator()(const config& lhs, const config& rhs) const
|
||||
{
|
||||
return lhs["name"].t_str() < rhs["name"].t_str();
|
||||
return lhs["name"].t_str().str() < rhs["name"].t_str().str();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue