mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
a3b1dbe9f1
texts. PR: 57511 Submitted by: Pav Lucistnik <pav@oook.cz> through Samy Al Bahra <samy@kerneled.com> (maintainer)
22 lines
509 B
C
22 lines
509 B
C
--- src/init.c Tue Aug 26 07:54:35 2003
|
|
+++ /home/samy/development/katoob/src/init.c Thu Aug 28 00:36:48 2003
|
|
@@ -101,7 +101,18 @@
|
|
katoob->xkb_grps[i] =
|
|
XGetAtomName (GDK_DISPLAY (), kbinfo->names->groups[i]);
|
|
}
|
|
+ else
|
|
+ {
|
|
+ katoob->xkb_grps[i] = NULL;
|
|
+ }
|
|
}
|
|
+ }
|
|
+
|
|
+/* Let's NULL all the remaining array. */
|
|
+ while (grpnum < XkbNumKbdGroups)
|
|
+ {
|
|
+ katoob->xkb_grps[grpnum] = NULL;
|
|
+ ++grpnum;
|
|
}
|
|
|
|
XkbGetControls (GDK_DISPLAY (), XkbAllControlsMask, kbinfo);
|