From d80352a983f187de7cf691d659f2ea2f7935c7cb Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 13 Mar 2024 19:09:26 -0400 Subject: [PATCH] warning fix read.c read.c:148:13: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation] 147 | "Ms. Palm's House of Negotiable Affection--A Very Reputable" | | , 148 | " House Of Disrepute", | ^ read.c:147:9: note: place parentheses around the string literal to silence warning 147 | "Ms. Palm's House of Negotiable Affection--A Very Reputable" | ^ 1 warning generated. --- src/read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/read.c b/src/read.c index e79fceb26..127e0edac 100644 --- a/src/read.c +++ b/src/read.c @@ -144,8 +144,8 @@ tshirt_text(struct obj *tshirt, char *buf) "Minetown Better Business Bureau", "Minetown Watch", /* Discworld riff; unfortunately long */ - "Ms. Palm's House of Negotiable Affection--A Very Reputable" - " House Of Disrepute", + ("Ms. Palm's House of Negotiable Affection--A Very Reputable" + " House Of Disrepute"), "Protection Racketeer", "Real men love Crom", "Somebody stole my Mojo!",