diff options
Diffstat (limited to 'platform/gl/gl-main.c')
-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 ab8641b1..904f3f51 100644 --- a/platform/gl/gl-main.c +++ b/platform/gl/gl-main.c @@ -355,9 +355,9 @@ static void do_copy_region(fz_rect *screen_sel, int xofs, int yofs) fz_transform_rect(&page_sel, &page_inv_ctm); #ifdef _WIN32 - buf = fz_new_buffer_from_page(ctx, page, &page_sel, 1); + buf = fz_new_buffer_from_page(ctx, page, &page_sel, 1, 0); #else - buf = fz_new_buffer_from_page(ctx, page, &page_sel, 0); + buf = fz_new_buffer_from_page(ctx, page, &page_sel, 0, 0); #endif fz_write_buffer_rune(ctx, buf, 0); glfwSetClipboardString(window, (char*)buf->data); |