git.shiar.nl
/
netris.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7add4dc
)
message window needs to show at least 2 history lines
author
Mischa POSLAWSKY
<netris@shiar.org>
Sun, 4 Mar 2007 10:18:16 +0000
(11:18 +0100)
committer
Mischa POSLAWSKY
<netris@shiar.org>
Sun, 4 Mar 2007 10:18:16 +0000
(11:18 +0100)
curses.c
patch
|
blob
|
history
diff --git
a/curses.c
b/curses.c
index 2c4b87cd252415ab1428234355314462b0c20f71..5a90d2125fb189637d1b5a1b0b6a34fbf0f72e63 100644
(file)
--- a/
curses.c
+++ b/
curses.c
@@
-292,7
+292,7
@@
void InitFields(void)
messageYPos = 24;
messageWidth = MIN(x - messageXPos - 2, MSG_WIDTH);
messageHeight = MIN(y - messageYPos - 1, MSG_HEIGHT);
- if (messageHeight <
= 0
) {
+ if (messageHeight <
3
) {
messageWidth = MIN(x - statusXPos - 18, 27);
messageHeight = y - 3;
messageXPos = statusXPos + 16;