summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-29 11:02:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-29 11:02:40 +0000
commit436a081d985d376060908b1db436a6ad2691d593 (patch)
treeab1f18ab702a99dc20e6414b8e0fa9a663feaba3 /perl-install/my_gtk.pm
parent29a46a67b641f94dbb5b2afc7e9028ea5408fb71 (diff)
downloaddrakx-backup-do-not-use-436a081d985d376060908b1db436a6ad2691d593.tar
drakx-backup-do-not-use-436a081d985d376060908b1db436a6ad2691d593.tar.gz
drakx-backup-do-not-use-436a081d985d376060908b1db436a6ad2691d593.tar.bz2
drakx-backup-do-not-use-436a081d985d376060908b1db436a6ad2691d593.tar.xz
drakx-backup-do-not-use-436a081d985d376060908b1db436a6ad2691d593.zip
*** empty log message ***
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index d02aaf8d2..200ada856 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -422,7 +422,7 @@ sub create_treeitem($) {
my $w = new Gtk::TreeItem($name);
$w->signal_connect(key_press_event => sub {
my (undef, $e) = @_;
- local $_ = chr ($e->{keyval} & 0xff);
+ local $_ = chr ($e->{keyval});
if ($e->{keyval} > 0x100) {
my $n;
@@ -500,7 +500,7 @@ sub _ask_from_list {
});
$list->signal_connect(key_press_event => sub {
my ($w, $e) = @_;
- my $c = chr $e->{keyval};
+ my $c = chr($e->{keyval} & 0xff);
Gtk->timeout_remove($timeout) if $timeout; $timeout = '';
@@ -573,7 +573,7 @@ sub _ask_from_list_with_help {
});
$list->signal_connect(key_press_event => sub {
my ($w, $e) = @_;
- my $c = chr $e->{keyval};
+ my $c = chr($e->{keyval} & 0xff);
Gtk->timeout_remove($timeout) if $timeout; $timeout = '';