]> granicus.if.org Git - nethack/commitdiff
correct something spotted in email diff
authornhmall <mjnh@persona.ca>
Sun, 5 Apr 2015 01:38:43 +0000 (21:38 -0400)
committernhmall <mjnh@persona.ca>
Sun, 5 Apr 2015 01:38:43 +0000 (21:38 -0400)
src/objnam.c

index 11f364da66c32dd0edc43248b21aac81e80acc84..ca330b19325aa6ba668d26a203c24374bc59bd3a 100644 (file)
@@ -3010,7 +3010,7 @@ typfnd:
 
        if (typ && wizard) {
            if (typ == SPE_NOVEL) {
-               if (name && !lookup_novel((char *)name, (int *)0)) {
+               if (name && !lookup_novel(name, (int *)0)) {
                    pline("There's no novel by that name.");
                    return ((struct obj *)0);
                }