changeset 7417:3c7c9a467161 draft

(svn r10810) -Fix (r10097): Add a comma between different cargo types if an articulated vehicle carries more than one cargo.
author maedhros <maedhros@openttd.org>
date Mon, 06 Aug 2007 12:54:03 +0000
parents 5e887e08fd59
children f167e09640f8
files src/roadveh_gui.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/roadveh_gui.cpp
+++ b/src/roadveh_gui.cpp
@@ -145,6 +145,8 @@
 
 					if (!first) strecat(capacity, ", ", lastof(capacity));
 					strecat(capacity, buffer, lastof(capacity));
+
+					first = false;
 				}
 			}