changeset 11028:958accb0cb24 draft

(svn r15368) -Fix: some typos in comments
author rubidium <rubidium@openttd.org>
date Fri, 06 Feb 2009 10:31:05 +0000
parents d2965f7acc26
children 5bfb68c58fd3
files src/ai/ai_info.cpp src/sortlist_type.h
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -24,7 +24,8 @@
 	AI::START_NEXT_HARD,
 	AI::START_NEXT_DEVIATION,
 	30,
-	AICONFIG_NONE
+	AICONFIG_NONE,
+	NULL
 };
 
 AIFileInfo::~AIFileInfo()
--- a/src/sortlist_type.h
+++ b/src/sortlist_type.h
@@ -313,9 +313,9 @@
 	 * 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 @@
 	/**
 	 * 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)