1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/x11/xkbctrl/files/patch-ab
MIHIRA Sanpei Yoshiro 0e7b4e6020 fix typo in original source
Mod2Mask --> Mod4Mask

Submitted by:	Sebastien Carlier <sebc@epita.fr>
2000-07-05 14:20:41 +00:00

21 lines
461 B
Plaintext

--- xkbctrl.c.org Sun Jan 9 22:51:02 2000
+++ xkbctrl.c Wed Jul 5 22:15:09 2000
@@ -27,7 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <values.h>
+#include <limits.h>
#include <ctype.h>
#include <X11/Xos.h>
#include <X11/Xlib.h>
@@ -112,7 +112,7 @@
if (*tmp=='4') {
*changes|= Mod4Mask;
if (onOff) *mods|= Mod4Mask;
- else *mods&= ~Mod2Mask;
+ else *mods&= ~Mod4Mask;
}
if (*tmp=='5') {
*changes|= Mod5Mask;