]> granicus.if.org Git - nethack/commitdiff
fake mail follow-up tidbit
authornhmall <nhmall@nethack.org>
Sun, 30 Jan 2022 04:33:58 +0000 (23:33 -0500)
committernhmall <nhmall@nethack.org>
Sun, 30 Jan 2022 04:33:58 +0000 (23:33 -0500)
src/mail.c

index d904dddc03cf8335cd14cf0eb5a811596c39504a..87ff8ada08ab7955bee7f207f0fe4594e0710895 100644 (file)
@@ -466,7 +466,7 @@ readmail(struct obj *otmp UNUSED)
     int i;
     enum delivery_types delivery = normal_delivery;
     const char *recipient = 0;
-    const char *const junk_templates[] = {
+    static const char *const junk_templates[] = {
         "%sReport bugs to <%s>.%s", /*** must be first entry ***/
         "Please disregard previous letter.",
         "Welcome to NetHack.",