29. XkbWriteRulesProp fails if XkbRulesFile is NULL. Bug #376. (Alan
Coopersmith)
This commit is contained in:
		
							parent
							
								
									861a336782
								
							
						
					
					
						commit
						83880dd464
					
				|  | @ -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) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue