summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xkb/xkbInit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c
index b582845d9..260446eb8 100644
--- a/xkb/xkbInit.c
+++ b/xkb/xkbInit.c
@@ -1,4 +1,5 @@
/* $Xorg: xkbInit.c,v 1.3 2000/08/17 19:53:47 cpqbld Exp $ */
+/* $XdotOrg$ */
/************************************************************
Copyright (c) 1993 by Silicon Graphics Computer Systems, Inc.
@@ -188,6 +189,9 @@ char * pval;
if (XkbRulesFile) {
strcpy(&pval[out],XkbRulesFile);
out+= strlen(XkbRulesFile);
+ } else {
+ strcpy(&pval[out],XKB_DFLT_RULES_FILE);
+ out+= strlen(XKB_DFLT_RULES_FILE);
}
pval[out++]= '\0';
if (XkbModelUsed) {