Commit 41b1d526 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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.
parent 35e9cee0
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment