X11: Fix map expose area

The stop_row and stop_col were off-by-one in some cases, leaving
black lines on the map when a window on top was closed.
Simplify the calculation by always going one row/col further,
ensuring previously covered area gets redrawn for sure.
This should not affect speed or resource usage noticeably these days.
This commit is contained in:
Pasi Kallinen
2022-01-25 11:19:12 +02:00
parent 0652f7f774
commit 61f78318a5
2 changed files with 3 additions and 4 deletions

View File

@@ -1414,6 +1414,7 @@ Unix: can define NOSUSPEND in config.h or src/Makefile's CFLAGS to prevent
X11: implement 'selectsaved', restore via menu of saved games
X11: echo getline prompt and response (wishes, applying names) to message
window and dumplog message history
X11: fix map expose area, no longer leaving black bars on the map
NetHack Community Patches (or Variation) Included