summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-07-10 15:38:42 +0000
committerrubidium <rubidium@openttd.org>2013-07-10 15:38:42 +0000
commit423b44e552f75609ecb44cfa1ea063cc4399ec08 (patch)
tree87df715ad779b7571d1408e23fb251820247794c /src
parentb8ba32db06ac115ed5a3f24da9251417f1094dbe (diff)
downloadopenttd-423b44e552f75609ecb44cfa1ea063cc4399ec08.tar.xz
(svn r25579) -Fix [FS#5642] (r25577): doxygen generation failed + typo fix
Diffstat (limited to 'src')
-rw-r--r--src/script/api/script_list.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/api/script_list.hpp b/src/script/api/script_list.hpp
index fc3b26b08..2117f959d 100644
--- a/src/script/api/script_list.hpp
+++ b/src/script/api/script_list.hpp
@@ -33,11 +33,11 @@ public:
/** Sort ascending */
static const bool SORT_ASCENDING = true;
- /** Sort descnding */
+ /** Sort descending */
static const bool SORT_DESCENDING = false;
private:
- ScriptListSorter *sorter; ///< Sorting algorithm
+ ScriptListSorter *sorter; ///< Sorting algorithm
SorterType sorter_type; ///< Sorting type
bool sort_ascending; ///< Whether to sort ascending or descending
bool initialized; ///< Whether an iteration has been started
@@ -63,7 +63,7 @@ public:
void AddItem(int32 item, int32 value);
#else
void AddItem(int32 item, int32 value = 0);
-#endif
+#endif /* DOXYGEN_API */
/**
* Remove a single item from the list.