Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
981e7dc3
Commit
981e7dc3
authored
Feb 23, 2012
by
Ivica Ico Bukvic
Browse files
fixed erroneous calcuation of getrect call inside g_mycanvas.c
parent
fe3c2be3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/g_mycanvas.c
View file @
981e7dc3
...
...
@@ -420,8 +420,8 @@ static void my_canvas_getrect(t_gobj *z, t_glist *glist, int *xp1, int *yp1, int
*
xp1
=
text_xpix
(
&
x
->
x_gui
.
x_obj
,
glist
);
*
yp1
=
text_ypix
(
&
x
->
x_gui
.
x_obj
,
glist
);
*
xp2
=
*
xp1
+
x
->
x_
gui
.
x
_w
;
*
yp2
=
*
yp1
+
x
->
x_
gui
.
x
_h
;
*
xp2
=
*
xp1
+
x
->
x_
vis
_w
;
*
yp2
=
*
yp1
+
x
->
x_
vis
_h
;
}
static
void
my_canvas_save
(
t_gobj
*
z
,
t_binbuf
*
b
)
...
...
Write
Preview
Supports
Markdown
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