summaryrefslogtreecommitdiff
path: root/package/gpm/patches/patch-src_synaptics_c
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/gpm/patches/patch-src_synaptics_c
Initial import
Diffstat (limited to 'package/gpm/patches/patch-src_synaptics_c')
-rw-r--r--package/gpm/patches/patch-src_synaptics_c15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/gpm/patches/patch-src_synaptics_c b/package/gpm/patches/patch-src_synaptics_c
new file mode 100644
index 000000000..c442926a2
--- /dev/null
+++ b/package/gpm/patches/patch-src_synaptics_c
@@ -0,0 +1,15 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- gpm-1.20.5.orig/src/synaptics.c 2008-06-13 10:08:19.000000000 +0200
++++ gpm-1.20.5/src/synaptics.c 2008-10-09 14:07:01.000000000 +0200
+@@ -2134,9 +2134,9 @@ void tp_read_config_file (char* config_f
+ break;
+
+ case Flag_Param:
+- if (index ("YyTt1", token [0])) {
++ if (strchr ("YyTt1", token [0])) {
+ *(param_data [param].addr.flag_p) = 1;
+- } else if (index ("NnFf0", token [0])) {
++ } else if (strchr ("NnFf0", token [0])) {
+ *(param_data [param].addr.flag_p) = 0;
+ } else {
+ gpm_report (GPM_PR_WARN,"Flag value (%s) for parameter %s is invalid",