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 58486bb commit 14c88f266b1614474a94fb576fc50381e692342d
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 14c88f2

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