summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-01 13:56:08 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:36:07 -0500
commitb3db41fad7098823c396a3b279d2a9f7c2d7645b (patch)
tree33ea9363a486967045e152bd50a195972b402b28
parentcb2ab91ea5c8da53b95536ed415cff9dcb837554 (diff)
do not return early from _bryce_position()
this causes the returned coords to be garbage values, likely leading to the bryce being positioned or animating off to the upper-right corner of the universe that exists beyond the canvas
-rw-r--r--src/bin/e_bryce.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 613727789..0bcb8390b 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -174,7 +174,6 @@ _bryce_position(Bryce *b, int w, int h, int *nx, int *ny)
174 } 174 }
175 else 175 else
176 e_efx_move(b->bryce, E_EFX_EFFECT_SPEED_LINEAR, E_EFX_POINT(x, y), 0.5, _bryce_autohide_end, b); 176 e_efx_move(b->bryce, E_EFX_EFFECT_SPEED_LINEAR, E_EFX_POINT(x, y), 0.5, _bryce_autohide_end, b);
177 return;
178 } 177 }
179 else if (b->hidden) 178 else if (b->hidden)
180 _bryce_autohide_coords(b, &x, &y); 179 _bryce_autohide_coords(b, &x, &y);