summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 7248e735e..90c2d4e48 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -84,7 +84,7 @@ sub create_treeview_list {
my $timeout;
$list_tv->signal_connect(key_press_event => sub {
my ($_w, $event) = @_;
- my $c = chr($event->keyval & );
+ my $c = chr($event->keyval & 0xff);
Glib::Source->remove($timeout) if $timeout; $timeout = '';