aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-12-27 18:21:24 +0100
committerAngelo Naselli <anaselli@linux.it>2015-12-27 18:21:24 +0100
commit340f3ebf1cb95d5a9e63f0095fa23352f509d171 (patch)
tree750da66ad988f974eac1037e41350e4d27dea9c5
parent8f8c07faa6e1ad94683533e4dc5d70872e5e163a (diff)
downloadmanatools-340f3ebf1cb95d5a9e63f0095fa23352f509d171.tar
manatools-340f3ebf1cb95d5a9e63f0095fa23352f509d171.tar.gz
manatools-340f3ebf1cb95d5a9e63f0095fa23352f509d171.tar.bz2
manatools-340f3ebf1cb95d5a9e63f0095fa23352f509d171.tar.xz
manatools-340f3ebf1cb95d5a9e63f0095fa23352f509d171.zip
Updated for using new ConfigReader implementation
-rw-r--r--lib/ManaTools/MainDisplay.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ManaTools/MainDisplay.pm b/lib/ManaTools/MainDisplay.pm
index 753a3e57..b5c3cec0 100644
--- a/lib/ManaTools/MainDisplay.pm
+++ b/lib/ManaTools/MainDisplay.pm
@@ -565,7 +565,7 @@ sub _loadCategory {
}
sub _loadCategories {
- my ($self) = @_;
+ my $self = shift;
# category files
my @categoryFiles;
@@ -580,7 +580,7 @@ sub _loadCategories {
my $currCategory;
foreach $fileName (@categoryFiles) {
- my $inFile = new ManaTools::ConfigReader($fileName);
+ my $inFile = new ManaTools::ConfigReader({fileName => $fileName});
my $tmpCat;
my $tmp;
my $hasNextCat = $inFile->hasNextCat();