summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/presets.c')
-rw-r--r--gtk/src/presets.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c
index 2862721b1..6699392a3 100644
--- a/gtk/src/presets.c
+++ b/gtk/src/presets.c
@@ -2592,16 +2592,14 @@ import_xlat_preset(GValue *user_preset)
ghb_settings_set_value(dict, "scale_width",
ghb_settings_get_value(dict, "PictureWidth"));
- gboolean uses_max;
gint uses_pic;
gint vqtype;
- uses_max = ghb_settings_get_boolean(dict, "UsesMaxPictureSettings");
uses_pic = ghb_settings_get_int(dict, "UsesPictureSettings");
vqtype = ghb_settings_get_int(dict, "VideoQualityType");
// "Use max" or "strict anamorphic" imply autoscale
- if (uses_max || uses_pic == 2)
+ if (uses_pic == 2)
{
ghb_settings_set_boolean(dict, "autoscale", TRUE);
}