X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/efabf227cbb1c2dad9a61ee0099115c7359a8a14..aa222db2f6f30aaca4ea75578a8d72a4000f1901:/src/tools.c?ds=sidebyside diff --git a/src/tools.c b/src/tools.c index 5468d50..a778207 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1,7 +1,7 @@ /* tools.c - miscellaneous utility functions * Copyright 2000-2004 srvx Development Team * - * This file is part of srvx. + * This file is part of x3. * * srvx is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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;