summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Xconfig/resolution_and_depth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm
index 46cf567..0d7715e 100644
--- a/lib/Xconfig/resolution_and_depth.pm
+++ b/lib/Xconfig/resolution_and_depth.pm
@@ -218,7 +218,7 @@ sub configure_auto_install {
my ($raw_X, $card, $monitors, $old_X) = @_;
my ($default_resolution, @resolutions);
- if ($old_X->{resolution_wanted} eq 'automatic' || 1) {
+ if ($old_X->{resolution_wanted} eq 'automatic') {
$default_resolution = { automatic => 1 };
} else {
my $resolution_wanted = do {