summaryrefslogtreecommitdiff
path: root/lib/Loadbars/Main.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Loadbars/Main.pm')
-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;