summaryrefslogtreecommitdiff
path: root/libview/ev-pixbuf-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-pixbuf-cache.c')
-rw-r--r--libview/ev-pixbuf-cache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libview/ev-pixbuf-cache.c b/libview/ev-pixbuf-cache.c
index 5706ab44..ca4ffacb 100644
--- a/libview/ev-pixbuf-cache.c
+++ b/libview/ev-pixbuf-cache.c
@@ -925,9 +925,9 @@ new_selection_surface_needed (EvPixbufCache *pixbuf_cache,
gint page,
gfloat scale)
{
- if (job_info->selection || job_info->points_set)
+ if (job_info->selection)
return job_info->selection_scale != scale;
- return FALSE;
+ return job_info->points_set;
}
static gboolean
@@ -936,9 +936,9 @@ new_selection_region_needed (EvPixbufCache *pixbuf_cache,
gint page,
gfloat scale)
{
- if (job_info->selection_region || job_info->points_set)
+ if (job_info->selection_region)
return job_info->selection_region_scale != scale;
- return FALSE;
+ return job_info->points_set;
}
static void