summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-03 00:05:51 +0000
committerrubidium <rubidium@openttd.org>2009-12-03 00:05:51 +0000
commit5c1fdfdd03d3b8f7138e891b8bc30dcb0a2a104f (patch)
tree8be25a6bf133084b3b94ebd1a40db7356247142f
parentaa40d8e3adf23556810c2e6f975a514fac66ac62 (diff)
downloadopenttd-5c1fdfdd03d3b8f7138e891b8bc30dcb0a2a104f.tar.xz
(svn r18389) -Fix: some minor documentation alignment issues
-rw-r--r--src/roadstop.cpp4
-rw-r--r--src/smallmap_gui.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/roadstop.cpp b/src/roadstop.cpp
index 7d9497de4..6558a0bb4 100644
--- a/src/roadstop.cpp
+++ b/src/roadstop.cpp
@@ -53,7 +53,7 @@ RoadStop *RoadStop::GetNextRoadStop(const RoadVehicle *v) const
void RoadStop::Leave(RoadVehicle *rv)
{
/* Vehicle is leaving a road stop tile, mark bay as free
- * For drive-through stops, only do it if the vehicle stopped here */
+ * For drive-through stops, only do it if the vehicle stopped here */
if (IsStandardRoadStopTile(rv->tile) || HasBit(rv->state, RVS_IS_STOPPING)) {
this->FreeBay(HasBit(rv->state, RVS_USING_SECOND_BAY));
ClrBit(rv->state, RVS_IS_STOPPING);
@@ -70,7 +70,7 @@ bool RoadStop::Enter(RoadVehicle *rv)
{
if (IsStandardRoadStopTile(this->xy)) {
/* For normal (non drive-through) road stops
- * Check if station is busy or if there are no free bays or whether it is a articulated vehicle. */
+ * Check if station is busy or if there are no free bays or whether it is a articulated vehicle. */
if (this->IsEntranceBusy() || !this->HasFreeBay() || rv->HasArticulatedPart()) return false;
SetBit(rv->state, RVS_IN_ROAD_STOP);
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index d83031b2f..fa6b4ad98 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -916,7 +916,7 @@ public:
for (const LegendAndColour *tbl = _legend_table[this->map_type]; !tbl->end; ++tbl) {
if (tbl->col_break || i++ >= this->number_of_rows) {
/* Column break needed, continue at top, COLUMN_WIDTH pixels
- * (one "row") to the right. */
+ * (one "row") to the right. */
x += rtl ? -(int)this->column_width : this->column_width;
y = y_org;
i = 0;