From ac09f61ab379f723c51838d9669c574da3fa82af Mon Sep 17 00:00:00 2001 From: marion Date: Thu, 17 Jan 2008 13:12:16 +0000 Subject: Rectification de la correction précédente --- src/MTools.pm | 2 +- src/MTools/Adapters/WacomAdapter.pm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/MTools.pm b/src/MTools.pm index 8da4277..aa8d94e 100644 --- a/src/MTools.pm +++ b/src/MTools.pm @@ -760,7 +760,7 @@ sub minstanciate { $path -> chggroup ($parent); $retour = $path; } - if (%options != undef) + if (%options) { $retour -> mconfigure (%options); } diff --git a/src/MTools/Adapters/WacomAdapter.pm b/src/MTools/Adapters/WacomAdapter.pm index 1ac654c..870ed31 100644 --- a/src/MTools/Adapters/WacomAdapter.pm +++ b/src/MTools/Adapters/WacomAdapter.pm @@ -72,6 +72,7 @@ sub binding { push (@{$self -> {buttons} -> {$1} -> {all}}, $cb); } elsif ($reg eq '') + { push (@{$self -> {pointers} -> {all}}, $cb); } -- cgit v1.1