projects
/
gnushogi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1950330
)
Curses: parametrize hardcoded values for captures pieces, fixing minishogi display.
author
Yann Dirson
<ydirson@free.fr>
Sun, 16 Feb 2014 16:12:43 +0000 (17:12 +0100)
committer
Yann Dirson
<ydirson@free.fr>
Sun, 16 Feb 2014 16:13:32 +0000 (17:13 +0100)
NEWS
patch
|
blob
|
history
gnushogi/cursesdsp.c
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index
7c9be91
..
e82931a
100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-10,7
+10,7
@@
Changes in version 1.4.2 (unreleased):
- display a message on wrong input
* Fixed Curses mode display:
- reversed column number for MiniShogi
- - clock position for MiniShogi
+ - clock and captures position for MiniShogi
- layout fixes, notably when using only 80 columns
* Minor code cleanups.
diff --git
a/gnushogi/cursesdsp.c
b/gnushogi/cursesdsp.c
index
98cec52
..
d2b336b
100644
(file)
--- a/
gnushogi/cursesdsp.c
+++ b/
gnushogi/cursesdsp.c
@@
-446,8
+446,8
@@
Curses_help(void)
}
-static const short x0[2] = { 54, 2 };
-static const short y0[2] = { 20, 4 };
+static const short x0[2] = { MARGIN + 5*NO_COLS + 4, 2 };
+static const short y0[2] = { 4 + 2 * (NO_ROWS - 1), 4 };
/*