]>
Commit | Line | Data |
---|---|---|
5b0f0ac9 MM |
1 | --- rpm-4.1/rpmdb/header.c.wiget2 Thu Sep 19 00:47:29 2002 |
2 | +++ rpm-4.1/rpmdb/header.c Thu Sep 19 00:52:10 2002 | |
3 | @@ -1645,7 +1645,8 @@ | |
205a62c5 | 4 | if (ed_weak) return (char *) ed_weak; |
d2e6b845 | 5 | } |
5b0f0ac9 | 6 | |
205a62c5 | 7 | - return (char *) entry->data; |
d2e6b845 | 8 | +/* when everything fail, try gettext */ |
205a62c5 | 9 | + return ((entry->data != NULL) && *(char*)(entry->data)) ? _(entry->data) : (char *) entry->data; |
d2e6b845 | 10 | } |
11 | ||
12 | /** |