]> granicus.if.org Git - nethack/commitdiff
Fix syntax error in MacGraphics conditional part
authorPasi Kallinen <paxed@alt.org>
Fri, 30 Oct 2015 08:15:28 +0000 (10:15 +0200)
committerPasi Kallinen <paxed@alt.org>
Fri, 30 Oct 2015 08:15:28 +0000 (10:15 +0200)
src/options.c

index b9da0d956c7dd7e901eda7847c90f9647e6f2e21..9e949de54b8aeea133b9befbcafe739aee48af88 100644 (file)
@@ -3247,8 +3247,8 @@ boolean tinitial, tfrom_file;
         if (duplicate)
             complain_about_duplicate(opts, 1);
         if (!negated) {
-            if (symset[PRIMARY])
-                .name badflag = TRUE;
+            if (symset[PRIMARY].name)
+                badflag = TRUE;
             else {
                 symset[PRIMARY].name = (char *) alloc(strlen(fullname) + 1);
                 Strcpy(symset[PRIMARY].name, fullname);