summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-08-06 12:54:03 +0000
committermaedhros <maedhros@openttd.org>2007-08-06 12:54:03 +0000
commitc974edf3a6384beecc50d1431eadb524277f2fc4 (patch)
tree9e9790a668d3a3af43ec8bf60bcefdf4a8ef22b7 /src
parent371a0c4be633601435b8abe02d500f03bd564fc2 (diff)
downloadopenttd-c974edf3a6384beecc50d1431eadb524277f2fc4.tar.xz
(svn r10810) -Fix (r10097): Add a comma between different cargo types if an articulated vehicle carries more than one cargo.
Diffstat (limited to 'src')
-rw-r--r--src/roadveh_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/roadveh_gui.cpp b/src/roadveh_gui.cpp
index d4a634f95..33f29576d 100644
--- a/src/roadveh_gui.cpp
+++ b/src/roadveh_gui.cpp
@@ -145,6 +145,8 @@ static void RoadVehDetailsWndProc(Window *w, WindowEvent *e)
if (!first) strecat(capacity, ", ", lastof(capacity));
strecat(capacity, buffer, lastof(capacity));
+
+ first = false;
}
}