diff options
Diffstat (limited to 'games-fps/quake3/files/quake3-1.36-bots.patch')
-rw-r--r-- | games-fps/quake3/files/quake3-1.36-bots.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games-fps/quake3/files/quake3-1.36-bots.patch b/games-fps/quake3/files/quake3-1.36-bots.patch new file mode 100644 index 000000000000..31d2f2041c6f --- /dev/null +++ b/games-fps/quake3/files/quake3-1.36-bots.patch @@ -0,0 +1,20 @@ +--- code/botlib/l_script.c.orig 2009-11-02 20:29:23.000000000 +0100 ++++ code/botlib/l_script.c 2009-11-02 22:21:40.000000000 +0100 +@@ -1118,7 +1118,7 @@ + { + if (*string == '\"') + { +- strcpy(string, string+1); ++ memmove(string, string+1, strlen(string)); + } //end if + if (string[strlen(string)-1] == '\"') + { +@@ -1135,7 +1135,7 @@ + { + if (*string == '\'') + { +- strcpy(string, string+1); ++ memmove(string, string+1, strlen(string)); + } //end if + if (string[strlen(string)-1] == '\'') + { |