OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
222b47d
)
GCU: remove assumed window width of 80 columns in wipe hook
author
Eric Branlund
<ebranlund@fastmail.com>
Tue, 21 Jun 2022 13:11:45 +0000
(07:11 -0600)
committer
Eric Branlund
<ebranlund@fastmail.com>
Tue, 21 Jun 2022 13:12:22 +0000
(07:12 -0600)
src/main-gcu.cpp
patch
|
blob
|
history
diff --git
a/src/main-gcu.cpp
b/src/main-gcu.cpp
index
1bdf495
..
3d60796
100644
(file)
--- a/
src/main-gcu.cpp
+++ b/
src/main-gcu.cpp
@@
-1053,7
+1053,7
@@
static errr game_term_wipe_gcu(int x, int y, int n)
wmove(td->win, y, x);
/* Clear to end of line */
- if (x + n >=
80
) {
+ if (x + n >=
td->t.wid
) {
wclrtoeol(td->win);
}