From 721180d208d2398934db4353617737cbd2f325a4 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 8 Nov 2017 19:54:16 +0000 Subject: Fix windows build of GL app. --- platform/gl/gl-main.c | 4 ++-- 1 file 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); -- cgit v1.2.3