From a0365ad792a1c15a1a36c928e5bd225192ae3b74 Mon Sep 17 00:00:00 2001 From: simigern Date: Sun, 21 May 2006 13:09:23 +0000 Subject: [PATCH] fix 0 again --- snom.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snom.pl b/snom.pl index bbb359d..d74e11b 100755 --- a/snom.pl +++ b/snom.pl @@ -1,5 +1,5 @@ #!/bin/sh -#$Id: snom.pl,v 1.7 2006-05-21 13:08:52 simigern Exp $ +#$Id: snom.pl,v 1.8 2006-05-21 13:09:23 simigern Exp $ PATH=/opt/csw/bin:/opt/local/bin:/usr/bin:/bin exec perl -w -x "$0" "$@" @@ -273,7 +273,7 @@ sub KBDInput my $keyval = $event->keyval; - for (my $i=1; $i<10; $i++) { + for (my $i=0; $i<10; $i++) { if ($keyval == $Gtk2::Gdk::Keysyms{$i} || $keyval == $Gtk2::Gdk::Keysyms{"KP_${i}"}) { snom_key($i); return TRUE; -- 2.39.5