]> granicus.if.org Git - nethack/commitdiff
mswproc.c bit
authornhmall <nhmall@nethack.org>
Mon, 3 Sep 2018 12:49:47 +0000 (08:49 -0400)
committernhmall <nhmall@nethack.org>
Mon, 3 Sep 2018 12:49:47 +0000 (08:49 -0400)
win/win32/mswproc.c

index 165efd34aa478e48a894348792246cacffee8951..63f7972d0017e596e1dc33c260ca89eba8154329 100644 (file)
@@ -2902,7 +2902,7 @@ mswin_status_update(int idx, genericptr_t ptr, int chg, int percent, int color,
 
     logDebug("mswin_status_update(%d, %p, %d, %d, %x, %p)\n", idx, ptr, chg, percent, color, colormasks);
 
-    if (idx != BL_FLUSH || idx == BL_RESET) {
+    if (idx != BL_FLUSH && idx != BL_RESET) {
         if (!_status_activefields[idx])
             return;
         _status_percents[idx] = percent;