Codechange: unify documentation and parameter names of sorters

This commit is contained in:
Rubidium
2026-02-11 04:53:39 +01:00
committed by rubidium42
parent 83f58b3fbd
commit 8e75626b49
20 changed files with 116 additions and 190 deletions
+2 -2
View File
@@ -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;