From: jacob Date: Sun, 25 Feb 2007 12:54:46 +0000 (+0000) Subject: Fix a UI glitch where dragging an existing arrow could change what it X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/05f3d08eedc39846a14b06a0c4826351bfd93a4b Fix a UI glitch where dragging an existing arrow could change what it referred to. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7331 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/galaxies.c b/galaxies.c index 9e4f4fd..e10db3a 100644 --- a/galaxies.c +++ b/galaxies.c @@ -2245,8 +2245,8 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, * Found a dot. Begin a drag from it. */ dot = &SPACE(state, px1, py1); - ui->srcx = px; - ui->srcy = py; + ui->srcx = px1; + ui->srcy = py1; goto done; /* multi-level break */ } }