]>
Commit | Line | Data |
---|---|---|
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 @@ | |
4 | } | |
5 | /*@=boundsread@*/ | |
6 | ||
7 | - return entry->data; | |
8 | +/* when everything fail, try gettext */ | |
9 | + return ((entry->data != NULL) && *(char*)(entry->data)) ? _(entry->data) : entry->data; | |
10 | } | |
11 | ||
12 | /** |