Remove tolower() which was missed in the _XkbStrCaseCmp/strcmp changes.
This commit is contained in:
		
							parent
							
								
									eb696f72a0
								
							
						
					
					
						commit
						b3031532ca
					
				| 
						 | 
					@ -1,3 +1,11 @@
 | 
				
			||||||
 | 
					2006-05-24  Jeremy C. Reed  <reed@reedmedia.net>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						reviewed by: Daniel Stone
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* xkb/maprules.c: (XkbRF_LoadDescriptions):
 | 
				
			||||||
 | 
						Remove tolower() which was missed in the _XkbStrCaseCmp/strcmp
 | 
				
			||||||
 | 
						changes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2006-05-23  Alan Coopersmith  <alan.coopersmith@sun.com>
 | 
					2006-05-23  Alan Coopersmith  <alan.coopersmith@sun.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* configure.ac:
 | 
						* configure.ac:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1092,7 +1092,7 @@ int			len,headingtype,extra_ndx = 0;
 | 
				
			||||||
    for ( ; GetInputLine(file,&line,False); line.num_line= 0) {
 | 
					    for ( ; GetInputLine(file,&line,False); line.num_line= 0) {
 | 
				
			||||||
	if (line.line[0]=='!') {
 | 
						if (line.line[0]=='!') {
 | 
				
			||||||
	    tok = strtok(&(line.line[1]), " \t");
 | 
						    tok = strtok(&(line.line[1]), " \t");
 | 
				
			||||||
	    if (_XkbStrCaseCmp(tolower(tok),"model") == 0)
 | 
						    if (_XkbStrCaseCmp(tok,"model") == 0)
 | 
				
			||||||
		headingtype = HEAD_MODEL;
 | 
							headingtype = HEAD_MODEL;
 | 
				
			||||||
	    else if (_XkbStrCaseCmp(tok,"layout") == 0)
 | 
						    else if (_XkbStrCaseCmp(tok,"layout") == 0)
 | 
				
			||||||
		headingtype = HEAD_LAYOUT;
 | 
							headingtype = HEAD_LAYOUT;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue