Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wynn
purr-data
Commits
3030e726
Commit
3030e726
authored
Nov 11, 2011
by
Ivica Bukvic
Browse files
fixed minor bug where vslider was being redeclared as hslider due to a typo
parent
860f3070
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/g_vslider.c
View file @
3030e726
...
...
@@ -439,7 +439,7 @@ static void vslider__motionhook(t_scalehandle *sh,
{
if
(
sh
->
h_dragon
&&
sh
->
h_scale
)
{
t_
h
slider
*
x
=
(
t_
h
slider
*
)(
sh
->
h_master
);
t_
v
slider
*
x
=
(
t_
v
slider
*
)(
sh
->
h_master
);
int
dx
=
(
int
)
f1
,
dy
=
(
int
)
f2
;
int
newx
,
newy
;
newx
=
x
->
x_gui
.
x_obj
.
te_xpix
+
x
->
x_gui
.
x_w
-
x
->
x_gui
.
scale_offset_x
+
dx
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment