summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-07-10 23:53:58 +0200
committerPaul Buetow <paul@buetow.org>2013-07-10 23:53:58 +0200
commit0c781568427fa3b7d483ba7ff9c2916c945d74ed (patch)
tree285d238f3c29b4a9c64a48776bab2ebb4b41f556 /lib
parentbc120edb60bcf7897723bd43e2f1e7349ca6619f (diff)
New release0.7.1
Diffstat (limited to 'lib')
-rw-r--r--lib/Loadbars/Main.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Loadbars/Main.pm b/lib/Loadbars/Main.pm
index 2f8e200..f53bad8 100644
--- a/lib/Loadbars/Main.pm
+++ b/lib/Loadbars/Main.pm
@@ -466,8 +466,9 @@ sub loop ($@) {
# While there are events to poll, poll them all!
while ( SDL::Events::poll_event($event) ) {
+
# Videoresize
- if ($event->type() == 16) {
+ if ( $event->type() == 16 ) {
$newsize{width} = $event->resize_w;
$newsize{height} = $event->resize_h;
$resize_window = 1;