From 7096df54deb2b8d3ef230dad4b4e905574236eda Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 5 Sep 2005 17:21:05 +0000 Subject: Various patches from Ben H: a fix for an outdated comment, a couple of spurious ps_printf() arguments removed, and an error check in the `make install' target. [originally from svn r6275] --- map.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'map.c') diff --git a/map.c b/map.c index ef17efb..b06e664 100644 --- a/map.c +++ b/map.c @@ -2240,7 +2240,15 @@ static char *game_text_format(game_state *state) } struct game_ui { - int drag_colour; /* -1 means no drag active */ + /* + * drag_colour: + * + * - -2 means no drag currently active. + * - >=0 means we're dragging a solid colour. + * - -1 means we're dragging a blank space, and drag_pencil + * might or might not add some pencil-mark stipples to that. + */ + int drag_colour; int drag_pencil; int dragx, dragy; int show_numbers; -- cgit v1.1