]> granicus.if.org Git - nethack/commitdiff
Fix lua selection logical-or bounds
authorPasi Kallinen <paxed@alt.org>
Sat, 7 Jan 2023 08:55:05 +0000 (10:55 +0200)
committerPasi Kallinen <paxed@alt.org>
Sat, 7 Jan 2023 08:55:09 +0000 (10:55 +0200)
src/nhlsel.c

index e0afcaa004a13bf0337dd0c98c0096eecb2f7711..a634a71b5b42162d7b00340b3f535685671740c9 100644 (file)
@@ -291,6 +291,7 @@ l_selection_or(lua_State *L)
             int val = selection_getpoint(x, y, sela) | selection_getpoint(x, y, selb);
             selection_setpoint(x, y, selr, val);
         }
+    selr->bounds = rect;
 
     lua_remove(L, 1);
     lua_remove(L, 1);