Strip trailing whitespace when parsing .desktop files.

SVN revision: 41590
This commit is contained in:
Kim Woelders 2009-08-04 16:11:30 +00:00
parent 9b388ef28a
commit cd7bbdba20
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ sub ProcessFile {
open(FI,$f) or return;
while (<FI>) {
s/\s+$//;
if (/^Name=(.*)$/) {
$Name = $1;
} elsif ($loc1 && /^Name\[$loc1\]=(.*)$/) {