aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-10-15 16:03:14 +0000
committerSimon Tatham <anakin@pobox.com>2005-10-15 16:03:14 +0000
commit5f16a29d4c5e90011aec7d9d00f02edf713a3304 (patch)
tree948a43533cf38ae911691bd14ee2a6229133389d
parent3bee86241c60f5ad3df7e7cfb3f3c5a54f1552e0 (diff)
downloadpuzzles-5f16a29d4c5e90011aec7d9d00f02edf713a3304.zip
puzzles-5f16a29d4c5e90011aec7d9d00f02edf713a3304.tar.gz
puzzles-5f16a29d4c5e90011aec7d9d00f02edf713a3304.tar.bz2
puzzles-5f16a29d4c5e90011aec7d9d00f02edf713a3304.tar.xz
Janes H provides a small workaround for a Palm tools bug.
[originally from svn r6403]
-rw-r--r--tents.c4
1 files 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 = ";";