From 340f3ebf1cb95d5a9e63f0095fa23352f509d171 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Sun, 27 Dec 2015 18:21:24 +0100 Subject: Updated for using new ConfigReader implementation --- lib/ManaTools/MainDisplay.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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(); -- cgit v1.2.1