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

index e5f4d2c162e97947a938d716b2dc2adfb34fbe44..5047b2dc2db846562b5d06219b6a0b1c9b68b1ef 100644 (file)
@@ -4411,8 +4411,9 @@ optfn_boolean(int optidx, int req, boolean negated, char *opts, char *op)
             if (WINDOWPORT("tty") && !g.opt_initial && !negated) {
                 perm_invent_toggled(FALSE);
                 /* perm_invent_toggled()
-                   -> tty_create_nhwindow(WIN_TTYINVENT)
-                      -> tty_create_invent()
+                   -> sync_perminvent()
+                      -> tty_update_invent_core()
+                          -> tty_create_invent()
                    gives feedback for failure (terminal too small) */
                 if (g.perm_invent_win == WIN_ERR)
                     return optn_silenterr;