quote "true" to fix warning about reserved word.
2006-10-24 Michael Natterer <mitch@gimp.org> * tools/gimp-mkenums (parse_trigraph): quote "true" to fix warning about reserved word.
This commit is contained in:
committed by
Michael Natterer
parent
35e9cee09f
commit
41b1d526b8
@ -1,3 +1,8 @@
|
||||
2006-10-24 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* tools/gimp-mkenums (parse_trigraph): quote "true" to fix warning
|
||||
about reserved word.
|
||||
|
||||
2006-10-24 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/pygimp-vectors.c: Vector object wrapper API.
|
||||
|
||||
@ -27,10 +27,10 @@ sub parse_trigraph {
|
||||
my $opts = shift;
|
||||
my @opts;
|
||||
|
||||
for $opt (quotewords(",", true, $opts)) {
|
||||
for $opt (quotewords(",", "true", $opts)) {
|
||||
$opt =~ s/^\s*//;
|
||||
$opt =~ s/\s*$//;
|
||||
my ($key,$val) = $opt =~ /(\w+)(?:=(.+))?/;
|
||||
my ($key,$val) = $opt =~ /(\w+)(?:=(.+))?/;
|
||||
defined $val or $val = 1;
|
||||
push @opts, $key, $val;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user