summaryrefslogtreecommitdiff
path: root/x11/libxkbfile/patches/patch-src_cout.c
blob: 4cb0dea490cbaf7fb3a42f4e08a01b39a43d6542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-src_cout.c,v 1.1 2014/11/25 15:05:16 joerg Exp $

--- src/cout.c.orig	2014-11-23 15:12:18.000000000 +0000
+++ src/cout.c
@@ -45,7 +45,7 @@ WriteCHdrVMods(FILE *file,Display *dpy,X
 {
 register int i,nOut;
 
-    if ((!xkb)||(!xkb->names)||(!xkb->names->vmods))
+    if ((!xkb)||(!xkb->names))
 	return False;
     for (i=nOut=0;i<XkbNumVirtualMods;i++) {
 	if (xkb->names->vmods[i]!=None) {