]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/tools.c
Grammar/spelling fixes, resync fixes, and incorrectly named message fix.
[irc/evilnet/x3.git] / src / tools.c
index 172765f1cbb563b925b986ca661b39fce4ef7411..a7782071cbd972ee4d274496336819943dd92148 100644 (file)
@@ -767,13 +767,13 @@ intervalString(char *output, time_t interval, struct handle_info *hi)
 
         if (words++ == 1) {
             msg = language_find_message(lang, "MSG_AND");
-            pos += sprintf(output + pos, " %s ", msg);
+            pos += sprintf(output + pos, "%s ", msg);
         }
         if (count == 1)
             msg = language_find_message(lang, unit[type].msg_single);
         else
             msg = language_find_message(lang, unit[type].msg_plural);
-        pos += sprintf(output + pos, "%d %s", count, msg);
+        pos += sprintf(output + pos, "%d%s", count, msg);
     }
 
     output[pos] = 0;