openbsd-ports/textproc/mupdf/patches/patch-apps_x11_main_c

16 lines
441 B
Plaintext

$OpenBSD: patch-apps_x11_main_c,v 1.1 2012/11/24 09:55:54 sthen Exp $
--- apps/x11_main.c.orig Sat Nov 24 09:45:52 2012
+++ apps/x11_main.c Sat Nov 24 09:45:57 2012
@@ -667,9 +667,10 @@ int main(int argc, char **argv)
if (argc - fz_optind == 1)
pageno = atoi(argv[fz_optind++]);
+ pdfapp_init(ctx, &gapp);
+
winopen();
- pdfapp_init(ctx, &gapp);
if (resolution == -1)
resolution = winresolution();
if (resolution < MINRES)