summaryrefslogtreecommitdiff
path: root/src/object1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/object1.cc')
-rw-r--r--src/object1.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/object1.cc b/src/object1.cc
index ae0317c7..7a462b41 100644
--- a/src/object1.cc
+++ b/src/object1.cc
@@ -618,7 +618,10 @@ void flavor_init(void)
}
/* Add the word with separator */
- buf += " ";
+ if (buf.size() > 0)
+ {
+ buf += " ";
+ }
buf += tmp;
}