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:
Ignacio R. Morelle 2011-10-31 16:32:06 +00:00
parent 0e14ce3c11
commit 948eb74c33

View file

@ -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();
}
};