nixpkgs-suyu/pkgs/tools/graphics/bins/hashref.patch

14 lines
581 B
Diff
Raw Normal View History

2016-05-07 04:38:39 +02:00
--- a/bins 2016-05-18 20:45:49.513330005 -0400
+++ b/bins 2016-05-18 20:58:58.957830874 -0400
@@ -3643,8 +3643,8 @@
my @descTable;
foreach my $tagName (@mainFields) {
- if (${%$hashref}{$tagName}) {
- my $value=${%$hashref}{$tagName};
+ if (${$hashref}{$tagName}) {
+ my $value=${$hashref}{$tagName};
$value =~ s/'/'/g ; # in case it's used in javascript code
push @descTable, {DESC_FIELD_NAME => getFields($configHash)->{$tagName}->{'Name'},
DESC_FIELD_VALUE => $value,