]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
made FS_WriteFile's len parameter size_t to fix some warnings
[xonotic/darkplaces.git] / host_cmd.c
index 3399b49d88fd7a52493ab1ddbe11ed480df52b67..7a533d9b2d2893f36670b870d96fdffab238da75 100644 (file)
@@ -931,9 +931,9 @@ void Host_Say(qboolean teamonly)
                p1++;
        }
        if (!fromServer)
-               dpsnprintf (text, sizeof(text), "%c%s: %s", 1, host_client->name, p1);
+               dpsnprintf (text, sizeof(text), "%c%s" STRING_COLOR_DEFAULT_STR ": %s", 1, host_client->name, p1);
        else
-               dpsnprintf (text, sizeof(text), "%c<%s> %s", 1, hostname.string, p1);
+               dpsnprintf (text, sizeof(text), "%c<%s" STRING_COLOR_DEFAULT_STR "> %s", 1, hostname.string, p1);
        p2 = text + strlen(text);
        while ((const char *)p2 > (const char *)text && (p2[-1] == '\r' || p2[-1] == '\n' || (p2[-1] == '\"' && quoted)))
        {