aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-12-22 14:25:49 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-12-22 14:26:53 +0100
commit6419209c9849238bf638c211875ff006211884eb (patch)
treeb9f73386d3b6707689c2469666e80b0891e0db04
parent2d4cab52b37c58c881e8bb7786adbe868f004a63 (diff)
downloadfiv-6419209c9849238bf638c211875ff006211884eb.tar.gz
fiv-6419209c9849238bf638c211875ff006211884eb.tar.xz
fiv-6419209c9849238bf638c211875ff006211884eb.zip
Avoid enhancing just opened images
-rw-r--r--fiv-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fiv-view.c b/fiv-view.c
index cd1f5cd..2cc77b2 100644
--- a/fiv-view.c
+++ b/fiv-view.c
@@ -1110,7 +1110,7 @@ fiv_view_init(FivView *self)
gboolean
fiv_view_open(FivView *self, const gchar *path, GError **error)
{
- cairo_surface_t *surface = fiv_io_open(path, self->enhance, error);
+ cairo_surface_t *surface = fiv_io_open(path, FALSE, error);
if (!surface)
return FALSE;
if (self->image)