diff options
-rw-r--r-- | platform/gl/gl-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c index 8aa8fd2b..a07512d8 100644 --- a/platform/gl/gl-main.c +++ b/platform/gl/gl-main.c @@ -675,8 +675,8 @@ static void do_page_selection(int x0, int y0, int x1, int y1) int xofs = x0 - page_tex.x; int yofs = y0 - page_tex.y; - fz_point page_a = (fz_point){ pt.x - xofs, pt.y - yofs }; - fz_point page_b = (fz_point){ ui.x - xofs, ui.y - yofs }; + fz_point page_a = { pt.x - xofs, pt.y - yofs }; + fz_point page_b = { ui.x - xofs, ui.y - yofs }; fz_transform_point(&page_a, &page_inv_ctm); fz_transform_point(&page_b, &page_inv_ctm); |