shithub: puzzles

Download patch

ref: b9fd636928ac476b232d6854e32305392764217c
parent: 19824f58c9abf83105600c174bc2ef44709d9119
author: Jacob Nevins <jacobn@chiark.greenend.org.uk>
date: Sun Feb 25 07:54:46 EST 2007

Fix a UI glitch where dragging an existing arrow could change what it
referred to.

[originally from svn r7331]

--- a/galaxies.c
+++ b/galaxies.c
@@ -2245,8 +2245,8 @@
                      * 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 */
                 }
             }