(svn r19775) -Fix: improper use of 'then' in few comments (ln)

This commit is contained in:
smatz 2010-05-09 18:13:36 +00:00
parent 2eaca9e108
commit 3f961ca671
6 changed files with 6 additions and 6 deletions

View File

@ -428,7 +428,7 @@ void AIInstance::CollectGarbage() const
* The data itself, this differs per type: * The data itself, this differs per type:
* - integer: a binary representation of the integer (int32). * - integer: a binary representation of the integer (int32).
* - string: First one byte with the string length, then a 0-terminated char * - string: First one byte with the string length, then a 0-terminated char
* array. The string can't be longer then 255 bytes (including * array. The string can't be longer than 255 bytes (including
* terminating '\0'). * terminating '\0').
* - array: All data-elements of the array are saved recursive in this * - array: All data-elements of the array are saved recursive in this
* format, and ended with an element of the type * format, and ended with an element of the type

View File

@ -77,7 +77,7 @@ public:
* you can control that number here. * you can control that number here.
* @param ticks The minimum amount of ticks to wait. * @param ticks The minimum amount of ticks to wait.
* @pre Ticks should be positive. Too big values will influence performance of the AI. * @pre Ticks should be positive. Too big values will influence performance of the AI.
* @note If the number is lower then the MP setting, the MP setting wins. * @note If the number is lower than the MP setting, the MP setting wins.
*/ */
static void SetCommandDelay(int ticks); static void SetCommandDelay(int ticks);

View File

@ -25,7 +25,7 @@ public:
* Gets the number of industries. * Gets the number of industries.
* @return The number of industries. * @return The number of industries.
* @post Return value is always non-negative. * @post Return value is always non-negative.
* @note The maximum valid IndustryID can be higher then the value returned. * @note The maximum valid IndustryID can be higher than the value returned.
*/ */
static int32 GetIndustryCount(); static int32 GetIndustryCount();

View File

@ -118,7 +118,7 @@ public:
ORDER_INVALID = -1, //!< An invalid order. ORDER_INVALID = -1, //!< An invalid order.
}; };
/** Where to stop trains in a station that's longer then the train */ /** Where to stop trains in a station that's longer than the train */
enum StopLocation { enum StopLocation {
STOPLOCATION_NEAR, //!< Stop the train as soon as it's completely in the station STOPLOCATION_NEAR, //!< Stop the train as soon as it's completely in the station
STOPLOCATION_MIDDLE, //!< Stop the train in the middle of the station STOPLOCATION_MIDDLE, //!< Stop the train in the middle of the station

View File

@ -43,7 +43,7 @@ public:
/** The waypoint is build too close to another waypoint */ /** The waypoint is build too close to another waypoint */
ERR_WAYPOINT_TOO_CLOSE_TO_ANOTHER_WAYPOINT, // [STR_ERROR_TOO_CLOSE_TO_ANOTHER_WAYPOINT] ERR_WAYPOINT_TOO_CLOSE_TO_ANOTHER_WAYPOINT, // [STR_ERROR_TOO_CLOSE_TO_ANOTHER_WAYPOINT]
/** The waypoint would join more then one existing waypoint together. */ /** The waypoint would join more than one existing waypoint together. */
ERR_WAYPOINT_ADJOINS_MULTIPLE_WAYPOINTS, // [STR_ERROR_WAYPOINT_ADJOINS_MORE_THAN_ONE_EXISTING] ERR_WAYPOINT_ADJOINS_MULTIPLE_WAYPOINTS, // [STR_ERROR_WAYPOINT_ADJOINS_MORE_THAN_ONE_EXISTING]
}; };

View File

@ -183,7 +183,7 @@ static bool BinaryHeap_Push(Queue *q, void *item, int priority)
while (i > 1) { while (i > 1) {
/* Get the parent of this object (divide by 2) */ /* Get the parent of this object (divide by 2) */
j = i / 2; j = i / 2;
/* Is the parent bigger then the current, switch them */ /* Is the parent bigger than the current, switch them */
if (BIN_HEAP_ARR(i).priority <= BIN_HEAP_ARR(j).priority) { if (BIN_HEAP_ARR(i).priority <= BIN_HEAP_ARR(j).priority) {
temp = BIN_HEAP_ARR(j); temp = BIN_HEAP_ARR(j);
BIN_HEAP_ARR(j) = BIN_HEAP_ARR(i); BIN_HEAP_ARR(j) = BIN_HEAP_ARR(i);