Fixed bugs reported by Andreas when reloading settings from a file (white spaces in string issues).
This commit is contained in:
@ -699,6 +699,8 @@ void TrimSPGUI::OpenFile()
|
||||
close(INF);
|
||||
my $Attrib="";
|
||||
foreach my $line (@lines) {
|
||||
# Remove white spaces
|
||||
$line =~ s/\s+//g;
|
||||
my @InitPar = split (/=/,$line);
|
||||
# Check it is not empty or title line
|
||||
if ($InitPar[0] ne "" && $InitPar[1] ne "") {
|
||||
|
Reference in New Issue
Block a user