summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-06 10:31:05 +0000
committerrubidium <rubidium@openttd.org>2009-02-06 10:31:05 +0000
commit6252c745841848f7aa7a5c94c5a6edbf1afb36cf (patch)
tree388165ccb968f0bd9d66c6d75d75fc08bc92ecbd /src
parentcfc80a17d89d3c508a47169614bb4b1a200f8492 (diff)
downloadopenttd-6252c745841848f7aa7a5c94c5a6edbf1afb36cf.tar.xz
(svn r15368) -Fix: some typos in comments
Diffstat (limited to 'src')
-rw-r--r--src/ai/ai_info.cpp3
-rw-r--r--src/sortlist_type.h6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp
index 4c217680c..9cb6ad653 100644
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -24,7 +24,8 @@ AIConfigItem _start_date_config = {
AI::START_NEXT_HARD,
AI::START_NEXT_DEVIATION,
30,
- AICONFIG_NONE
+ AICONFIG_NONE,
+ NULL
};
AIFileInfo::~AIFileInfo()
diff --git a/src/sortlist_type.h b/src/sortlist_type.h
index 25b0e3a2e..8bcfd7aad 100644
--- a/src/sortlist_type.h
+++ b/src/sortlist_type.h
@@ -313,9 +313,9 @@ public:
* Filter the list.
*
* @param decide The function to decide about an item
- * @param filter_data The data for filter on
+ * @param filter_data Additional data passed to the filter function
* @return true if the list has been altered by filtering
- * */
+ */
bool Filter(FilterFunction *decide, const F *filter_data)
{
/* Do not filter if the filter bit is not set */
@@ -346,7 +346,7 @@ public:
/**
* Filter the data with the currently selected filter.
*
- * @param filter_data The data for filer on
+ * @param filter_data Additional data passed to the filter function.
* @return true if the list has been altered by filtering
*/
bool Filter(const F *filter_data)