Fixed bugs reported by Andreas when reloading settings from a file (white spaces in string issues).

This commit is contained in:
2010-09-03 16:15:37 +00:00
parent ef519149ac
commit b502cc8585
2 changed files with 5 additions and 1 deletions

View File

@ -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 "") {