summaryrefslogtreecommitdiff
path: root/src/roadveh_gui.cpp
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
commita43370bf1cc0de1804a226cfda6966580e6a5fb8 (patch)
tree9e9790a668d3a3af43ec8bf60bcefdf4a8ef22b7 /src/roadveh_gui.cpp
parent68abeed9b896bc0cf4f08cc0cc3bd4bc03d8fe28 (diff)
downloadopenttd-a43370bf1cc0de1804a226cfda6966580e6a5fb8.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/roadveh_gui.cpp')
-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;
}
}