]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-gettext-in-header.patch
- ported to 4.4.9
[packages/rpm.git] / rpm-gettext-in-header.patch
index be46eee5db5d660d302e01c77b13e0a71202bda4..9e3ff96810310789337e83ee82f1ad0f42c3a389 100644 (file)
@@ -6,7 +6,7 @@
  
 -    return entry->data;
 +/* when everything fail, try gettext */
-+    return _(entry->data);
++    return ((entry->data != NULL) && *(char*)(entry->data)) ? _(entry->data) : entry->data;
  }
  
  /**
This page took 0.033765 seconds and 4 git commands to generate.