view debian/patches/22_bins-hash-ref @ 4:c5749e43b1d7

Adding debian files (to original 1.1.29)
author Peter Gervai <grin@grin.hu>
date Wed, 15 Oct 2008 23:35:35 +0200
parents
children
line wrap: on
line source

#! /bin/sh /usr/share/dpatch/dpatch-run
## 22_hash_ref.dpatch by  <rousseau@imac.maison.bogus>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Closes: #481662 bins: Crashes mid-album

@DPATCH@
--- bins-1.1.29.orig/bins
+++ bins-1.1.29/bins
@@ -3750,8 +3750,8 @@
 
     my @descTable;
     foreach my $tagName (@mainFields) {
-        if (${%$hashref}{$tagName}) {
-            my $value=${%$hashref}{$tagName};
+        if (${$hashref}{$tagName}) {
+            my $value=${$hashref}{$tagName};
             $value =~ s/'/&#39;/g  ; # in case it's used in javascript code
             push @descTable, {DESC_FIELD_NAME => $fields{$tagName}->{'Name'},
                               DESC_FIELD_VALUE => $value,