mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: unify documentation and parameter names of sorters
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user