From 626cd8ac8e9bccf0d1cbccc50332c9520185dfbb Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 15 Oct 2005 16:03:14 +0000 Subject: [PATCH] Janes H provides a small workaround for a Palm tools bug. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6403 cda61777-01e9-0310-a592-d414129be87e --- tents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tents.c b/tents.c index dc22467..7552b6b 100644 --- a/tents.c +++ b/tents.c @@ -1573,8 +1573,8 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, int v = drag_xform(ui, x, y, state->grid[y*w+x]); if (state->grid[y*w+x] != v) { tmplen = sprintf(tmpbuf, "%s%c%d,%d", sep, - (v == BLANK ? 'B' : - v == TENT ? 'T' : 'N'), + (int)(v == BLANK ? 'B' : + v == TENT ? 'T' : 'N'), x, y); sep = ";"; -- 2.11.0