Commit 3030e726 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

fixed minor bug where vslider was being redeclared as hslider due to a typo

parent 860f3070
...@@ -439,7 +439,7 @@ static void vslider__motionhook(t_scalehandle *sh, ...@@ -439,7 +439,7 @@ static void vslider__motionhook(t_scalehandle *sh,
{ {
if (sh->h_dragon && sh->h_scale) if (sh->h_dragon && sh->h_scale)
{ {
t_hslider *x = (t_hslider *)(sh->h_master); t_vslider *x = (t_vslider *)(sh->h_master);
int dx = (int)f1, dy = (int)f2; int dx = (int)f1, dy = (int)f2;
int newx, newy; int newx, newy;
newx = x->x_gui.x_obj.te_xpix + x->x_gui.x_w - x->x_gui.scale_offset_x + dx; newx = x->x_gui.x_obj.te_xpix + x->x_gui.x_w - x->x_gui.scale_offset_x + dx;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment