summaryrefslogtreecommitdiff
path: root/apps/jstest_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/jstest_main.c')
-rw-r--r--apps/jstest_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/jstest_main.c b/apps/jstest_main.c
index 7ef197b9..84d4dc9b 100644
--- a/apps/jstest_main.c
+++ b/apps/jstest_main.c
@@ -320,7 +320,7 @@ main(int argc, char *argv[])
pdfapp_init(ctx, &gapp);
gapp.scrw = 640;
gapp.scrh = 480;
- gapp.colorspace = fz_device_rgb;
+ gapp.colorspace = fz_device_rgb(ctx);
fz_try(ctx)
{