]> granicus.if.org Git - nethack/commitdiff
comment still not right
authornhmall <nhmall@nethack.org>
Mon, 27 Jun 2022 12:34:41 +0000 (08:34 -0400)
committernhmall <nhmall@nethack.org>
Mon, 27 Jun 2022 12:34:41 +0000 (08:34 -0400)
src/options.c

index 5047b2dc2db846562b5d06219b6a0b1c9b68b1ef..1015b0a75bfb6ce74a198a620c18525b434efa59 100644 (file)
@@ -4412,8 +4412,7 @@ optfn_boolean(int optidx, int req, boolean negated, char *opts, char *op)
                 perm_invent_toggled(FALSE);
                 /* perm_invent_toggled()
                    -> sync_perminvent()
-                      -> tty_update_invent_core()
-                          -> tty_create_invent()
+                          -> tty_create_nhwindow(NHW_PERMINVENT)
                    gives feedback for failure (terminal too small) */
                 if (g.perm_invent_win == WIN_ERR)
                     return optn_silenterr;