summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Xconfig/main.pm b/lib/Xconfig/main.pm
index f94e3c6..72bdfd9 100644
--- a/lib/Xconfig/main.pm
+++ b/lib/Xconfig/main.pm
@@ -172,7 +172,7 @@ sub configure_everything_or_configure_chooser {
my $raw_X = eval { Xconfig::xfree->read };
my $err = $@ && formatError($@);
- $err ||= check_valid($raw_X) if $raw_X; #- that's ok if config is empty
+ $err ||= _check_valid($raw_X) if $raw_X; #- that's ok if config is empty
if ($err) {
log::l("ERROR: bad X config file (error: $err)");
$options->{ignore_bad_conf} or $in->ask_okcancel('',
@@ -231,7 +231,7 @@ sub export_to_install_X {
$::o->{X}{Xinerama} = 1 if $X->{card}{Xinerama};
}
-sub check_valid {
+sub _check_valid {
my ($raw_X) = @_;
my %_sections = map {