Fix issue with one-character args in ArgsToStrings.

This commit is contained in:
Alex Jaspersen 2020-05-30 15:45:43 +00:00
parent c1d4c5596d
commit 2cb91bab04
2 changed files with 9 additions and 1 deletions

View file

@ -35,7 +35,7 @@ func ArgsToStrings(maxLength int, arguments []string, delim string) []string {
continue
}
if len(buffer) > 1 {
if len(buffer) > 0 {
buffer += delim
}
buffer += arguments[0]