Codechange: unify documentation and parameter names of sorters

This commit is contained in:
Rubidium
2026-02-08 19:49:37 +01:00
committed by rubidium42
parent 83f58b3fbd
commit 8e75626b49
20 changed files with 116 additions and 190 deletions
+1 -1
View File
@@ -1387,7 +1387,7 @@ struct NewGRFWindow : public Window, NewGRFScanCallback {
}
private:
/** Sort grfs by name. */
/** Sort grfs by name. @copydoc GUIList::Sorter */
static bool NameSorter(const GRFConfig * const &a, const GRFConfig * const &b)
{
std::string name_a = StrMakeValid(a->GetName(), {}); // Make a copy without control codes.