summaryrefslogtreecommitdiff
path: root/examples/viewer-x.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/viewer-x.c')
-rw-r--r--examples/viewer-x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/viewer-x.c b/examples/viewer-x.c
index 6546612b..8d2a4d11 100644
--- a/examples/viewer-x.c
+++ b/examples/viewer-x.c
@@ -100,7 +100,7 @@ main (int argc, char **argv)
fail ("Cannot open display %s\n", XDisplayName (NULL));
screen = DefaultScreen (display);
- do_init (display, screen, &context, &width, &height);
+ do_init (display, screen, opt_dpi, &context, &width, &height);
bg = WhitePixel (display, screen);
window = XCreateSimpleWindow (display, DefaultRootWindow (display),