]> granicus.if.org Git - nethack/commitdiff
notify windowport of hilites when status is initialized
authornhmall <mjnh@persona.ca>
Sun, 31 May 2015 16:06:18 +0000 (12:06 -0400)
committernhmall <mjnh@persona.ca>
Sun, 31 May 2015 16:06:18 +0000 (12:06 -0400)
 Changes to be committed:
modified:   src/botl.c

src/botl.c

index e9a2015a8010625e9dafc633de9ea0e489835d98..a05cdedf2946dad23d67dc67a195455804ec2238 100644 (file)
@@ -1,4 +1,4 @@
-/* NetHack 3.6 botl.c  $NHDT-Date: 1433087810 2015/05/31 15:56:50 $  $NHDT-Branch: status_hilite $:$NHDT-Revision: 1.55 $ */
+/* NetHack 3.6 botl.c  $NHDT-Date: 1433088374 2015/05/31 16:06:14 $  $NHDT-Branch: status_hilite $:$NHDT-Revision: 1.56 $ */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -381,6 +381,9 @@ boolean
         init_blstats();
         (*windowprocs.win_status_init)();
         blinit = TRUE;
+#ifdef STATUS_HILITES
+        status_notify_windowport(TRUE);
+#endif
     }
     for (i = 0; i < MAXBLSTATS; ++i) {
         enum statusfields fld = initblstats[i].fld;