Fixed problem with -I option
This commit is contained in:
		
							parent
							
								
									282d93dde0
								
							
						
					
					
						commit
						928c2dacc5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -85,10 +85,10 @@ AddInclDir(text)
 | 
			
		|||
					(unsigned)(mDEF * sizeof(char *)));
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	for (i = ndirs++; i <= nDEF; i++) {
 | 
			
		||||
	for (i = ndirs++; i < nDEF; i++) {
 | 
			
		||||
		char *tmp = DEFPATH[i];
 | 
			
		||||
 | 
			
		||||
		DEFPATH[i++] = new;
 | 
			
		||||
		DEFPATH[i] = new;
 | 
			
		||||
		new = tmp;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue