summaryrefslogtreecommitdiff
path: root/lib/Loadbars/Main.pm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2012-04-21 12:30:58 +0200
committerPaul Buetow <paul@buetow.org>2012-04-21 12:30:58 +0200
commite682c81a46d1f96e9f44a742e8f949d5935e5f79 (patch)
treed5cbc6490e0c6a728e281c991f829b16ef25ebcb /lib/Loadbars/Main.pm
parent109b41b1368b44377f1d6228659bf920718cadf0 (diff)
version number is not hard coded anymore
Diffstat (limited to 'lib/Loadbars/Main.pm')
-rw-r--r--lib/Loadbars/Main.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Loadbars/Main.pm b/lib/Loadbars/Main.pm
index 5b8f161..199a2e4 100644
--- a/lib/Loadbars/Main.pm
+++ b/lib/Loadbars/Main.pm
@@ -295,8 +295,7 @@ sub loop ($@) {
$C{width} = $C{barwidth};
my $app = SDL::App->new(
- -title => Loadbars::Constants->VERSION
- . ' (press h for help on stdout)',
+ -title => 'Loadbars ' . get_version . ' (press h for help on stdout)',
-icon_title => Loadbars::Constants->VERSION,
-width => $C{width},
-height => $C{height},