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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 14 years ago
parent 2eaca9e108
commit 3f961ca671

@ -428,7 +428,7 @@ void AIInstance::CollectGarbage() const
* The data itself, this differs per type:
* - integer: a binary representation of the integer (int32).
* - 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').
* - array: All data-elements of the array are saved recursive in this
* format, and ended with an element of the type

@ -77,7 +77,7 @@ public:
* you can control that number here.
* @param ticks The minimum amount of ticks to wait.
* @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);

@ -25,7 +25,7 @@ public:
* Gets the number of industries.
* @return The number of industries.
* @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();

@ -118,7 +118,7 @@ public:
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 {
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

@ -43,7 +43,7 @@ public:
/** The waypoint is build 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]
};

@ -183,7 +183,7 @@ static bool BinaryHeap_Push(Queue *q, void *item, int priority)
while (i > 1) {
/* Get the parent of this object (divide by 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) {
temp = BIN_HEAP_ARR(j);
BIN_HEAP_ARR(j) = BIN_HEAP_ARR(i);

Loading…
Cancel
Save