summaryrefslogtreecommitdiffstats
path: root/source/a/gpm/gpm-1.20.1-subscript.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/gpm/gpm-1.20.1-subscript.patch')
-rw-r--r--source/a/gpm/gpm-1.20.1-subscript.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/a/gpm/gpm-1.20.1-subscript.patch b/source/a/gpm/gpm-1.20.1-subscript.patch
new file mode 100644
index 000000000..bf4ca75b0
--- /dev/null
+++ b/source/a/gpm/gpm-1.20.1-subscript.patch
@@ -0,0 +1,11 @@
+--- gpm-1.20.1/src/mice.c.lr 2004-02-15 09:19:48.000000000 +0100
++++ gpm-1.20.1/src/mice.c 2004-02-15 09:22:18.000000000 +0100
+@@ -2112,7 +2112,7 @@
+ for (i=0; i<4; i++)
+ if (gunze_calib[i] & ~1023) calibok = 0;
+ if (gunze_calib[0] == gunze_calib[2]) calibok = 0;
+- if (gunze_calib[1] == gunze_calib[4]) calibok = 0;
++ if (gunze_calib[1] == gunze_calib[3]) calibok = 0;
+ fclose(f);
+ }
+ if (!calibok) {