Skip to content
Browse files

libview: Fix g_return condition in set_device_scale_on_surface()

Fail when device scale is not 1 if hidpi is not available, we were doing
the opposite.

origin commit:
  • Loading branch information...
Carlos Garcia Campos authored and raveit65 committed Jul 24, 2014
1 parent 2cae078 commit 5345f83e9410af181e2a4329f3fc4f72d98f6468
Showing with 1 addition and 1 deletion.
  1. +1 −1 libview/ev-pixbuf-cache.c
@@ -265,7 +265,7 @@ set_device_scale_on_surface (cairo_surface_t *surface,
cairo_surface_set_device_scale (surface, device_scale, device_scale);
g_return_if_fail (device_scale != 1);
g_return_if_fail (device_scale == 1);

0 comments on commit 5345f83

Please sign in to comment.
You can’t perform that action at this time.