minor: don't bother reparsing the sources for includes if ReadConfig() was unsuccessful
							parent
							
								
									1fcb919798
								
							
						
					
					
						commit
						a4acf485d7
					
				| 
						 | 
				
			
			@ -179,9 +179,10 @@ namespace OpenSim
 | 
			
		|||
            for (int i = 0 ; i < sources.Count ; i++)
 | 
			
		||||
            {
 | 
			
		||||
                if (ReadConfig(sources[i]))
 | 
			
		||||
                {
 | 
			
		||||
                    iniFileExists = true;
 | 
			
		||||
                
 | 
			
		||||
                AddIncludes(sources);
 | 
			
		||||
                    AddIncludes(sources);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (!iniFileExists)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue