]> granicus.if.org Git - nethack/commitdiff
Show error on unknown line
authorPasi Kallinen <paxed@alt.org>
Sat, 9 Sep 2017 10:25:46 +0000 (13:25 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 9 Sep 2017 10:25:46 +0000 (13:25 +0300)
src/files.c

index bba7f0e062b5d7086f0e5c8bf305a9e712abf820..3f877b215c58a6b968672c85cec396bd8b82aeb5 100644 (file)
@@ -2727,8 +2727,10 @@ int src;
 
         qt_compact_mode = atoi(bufp);
 #endif
-    } else
+    } else {
+        config_error_add("Unknown config statement");
         return 0;
+    }
     return retval;
 }