mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Make .ini parser more tolerant to whitespace
This commit is contained in:
		
							parent
							
								
									30b0869595
								
							
						
					
					
						commit
						06385221a3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -424,7 +424,7 @@ sub read_ini { | |||
|             $category = $1; | ||||
|             next; | ||||
|         } | ||||
|         /^(\w+) = (.*)/ or die "Unreadable configuration file (invalid data at line $.)\n"; | ||||
|         /^(\w+) *= *(.*)/ or die "Unreadable configuration file (invalid data at line $.)\n"; | ||||
|         $ini->{$category}{$1} = $2; | ||||
|     } | ||||
|     close $fh; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci