summaryrefslogtreecommitdiff
path: root/games-server/crossfire-server/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-server/crossfire-server/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-server/crossfire-server/files')
-rw-r--r--games-server/crossfire-server/files/crossfire-server-1.71.0-format.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/games-server/crossfire-server/files/crossfire-server-1.71.0-format.patch b/games-server/crossfire-server/files/crossfire-server-1.71.0-format.patch
new file mode 100644
index 000000000000..afed04da57f4
--- /dev/null
+++ b/games-server/crossfire-server/files/crossfire-server-1.71.0-format.patch
@@ -0,0 +1,20 @@
+--- a/server/c_chat.c.old 2015-12-15 21:35:30.024866220 +0100
++++ b/server/c_chat.c 2015-12-15 21:36:58.479266312 +0100
+@@ -483,7 +483,7 @@
+ { "You spit over your left shoulder.", "%s spits over his left shoulder." },
+ { "Strut your stuff.", "%s struts proudly." },
+ { NULL, NULL },
+- { "%s patiently twiddles his thumbs.", "You patiently twiddle your thumbs." },
++ { "You patiently twiddle your thumbs.", "%s patiently twiddles his thumbs." },
+ { "You wave.", "%s waves happily." },
+ { "You whistle appreciatively.", "%s whistles appreciatively." },
+ { "Have you got something in your eye?", "%s winks suggestively." },
+@@ -645,7 +645,7 @@
+
+ if (*params == '\0') {
+ if (emotion > EMOTE_FIRST && emotion < EMOTE_LAST && single_emotes[emotion - 1][0] != NULL) {
+- snprintf(buf, sizeof(buf), single_emotes[emotion - 1][0]);
++ snprintf(buf, sizeof(buf), "%s", single_emotes[emotion - 1][0]);
+ snprintf(buf2, sizeof(buf2), single_emotes[emotion - 1][1], op->name);
+ } else {
+ snprintf(buf, sizeof(buf), "You are a nut.");