mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 20:12:42 +00:00
Codechange: unify documentation and parameter names of sorters
This commit is contained in:
+2
-2
@@ -83,7 +83,7 @@ protected:
|
||||
this->story_pages.Sort();
|
||||
}
|
||||
|
||||
/** Sort story pages by order value. */
|
||||
/** Sort story pages by order value. @copydoc GUIList::Sorter */
|
||||
static bool PageOrderSorter(const StoryPage * const &a, const StoryPage * const &b)
|
||||
{
|
||||
return a->sort_value < b->sort_value;
|
||||
@@ -111,7 +111,7 @@ protected:
|
||||
this->InvalidateStoryPageElementLayout();
|
||||
}
|
||||
|
||||
/** Sort story page elements by order value. */
|
||||
/** Sort story page elements by order value. @copydoc GUIList::Sorter */
|
||||
static bool PageElementOrderSorter(const StoryPageElement * const &a, const StoryPageElement * const &b)
|
||||
{
|
||||
return a->sort_value < b->sort_value;
|
||||
|
||||
Reference in New Issue
Block a user