]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.c
2 new cvars: sv_gameplayfix_unstickentities and sv_gameplayfix_unstickplayers to...
[xonotic/darkplaces.git] / common.c
index 69a7a5d8d2c43718d701d08d5e30411ba24321c4..d939a0207492aa1ad6ae0baf1e47f3ac0a4214ae 100644 (file)
--- a/common.c
+++ b/common.c
@@ -1693,6 +1693,7 @@ void COM_ToLowerString (const char *in, char *out, size_t size_out)
 
        if(utf8_enable.integer)
        {
+               *out = 0;
                while(*in && size_out > 1)
                {
                        int n;
@@ -1725,6 +1726,7 @@ void COM_ToUpperString (const char *in, char *out, size_t size_out)
 
        if(utf8_enable.integer)
        {
+               *out = 0;
                while(*in && size_out > 1)
                {
                        int n;