summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}