chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d0c7e
)
Make the keyboard-control cursors visible whenever a keyboard control is
author
Jacob Nevins
<jacobn@chiark.greenend.org.uk>
Sat, 25 Jun 2005 13:43:45 +0000
(13:43 +0000)
committer
Jacob Nevins
<jacobn@chiark.greenend.org.uk>
Sat, 25 Jun 2005 13:43:45 +0000
(13:43 +0000)
activated.
[originally from svn r6013]
guess.c
patch
|
blob
|
history
diff --git
a/guess.c
b/guess.c
index 24daab36d2db97480d427db44e2ecd0f993d5495..702a1ad9523616d7fb8fea4211ad29a3b19a2338 100644
(file)
--- a/
guess.c
+++ b/
guess.c
@@
-700,6
+700,7
@@
static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds,
ret = from;
} else if (button == CURSOR_SELECT || button == ' ' || button == '\r' ||
button == '\n') {
+ ui->display_cur = 1;
if (ui->peg_cur == from->params.npegs) {
ret = mark_move(from, ui);
} else {
@@
-707,6
+708,7
@@
static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds,
ret = from;
}
} else if (button == 'H' || button == 'h') {
+ ui->display_cur = 1;
ui->holds[ui->peg_cur] = 1 - ui->holds[ui->peg_cur];
ret = from;
}