Skip to content
Snippets Groups Projects
Commit 981e7dc3 authored by Ivica Ico Bukvic's avatar Ivica Ico Bukvic
Browse files

fixed erroneous calcuation of getrect call inside g_mycanvas.c

parent fe3c2be3
No related branches found
No related tags found
No related merge requests found
...@@ -420,8 +420,8 @@ static void my_canvas_getrect(t_gobj *z, t_glist *glist, int *xp1, int *yp1, int ...@@ -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); *xp1 = text_xpix(&x->x_gui.x_obj, glist);
*yp1 = text_ypix(&x->x_gui.x_obj, glist); *yp1 = text_ypix(&x->x_gui.x_obj, glist);
*xp2 = *xp1 + x->x_gui.x_w; *xp2 = *xp1 + x->x_vis_w;
*yp2 = *yp1 + x->x_gui.x_h; *yp2 = *yp1 + x->x_vis_h;
} }
static void my_canvas_save(t_gobj *z, t_binbuf *b) static void my_canvas_save(t_gobj *z, t_binbuf *b)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment