diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-08-07 18:44:03 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-08-07 18:44:03 +0300 |
commit | 4b61c45dbb9965c90ddc1da6c3b8d77959bf682a (patch) | |
tree | 75f894f3f81a2448ffda70fbf474be4919581f5a /lib/header.c | |
parent | a366612ec3fde6b2506072fa2288454118fda29d (diff) | |
download | rpm-4b61c45dbb9965c90ddc1da6c3b8d77959bf682a.tar.gz rpm-4b61c45dbb9965c90ddc1da6c3b8d77959bf682a.tar.bz2 rpm-4b61c45dbb9965c90ddc1da6c3b8d77959bf682a.zip |
Permit i18nstring in headerPutString()
Diffstat (limited to 'lib/header.c')
-rw-r--r-- | lib/header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/header.c b/lib/header.c index 2f3d7a0c2..fa38c89f9 100644 --- a/lib/header.c +++ b/lib/header.c @@ -1631,7 +1631,7 @@ int headerPutString(Header h, rpmTag tag, const char *val) const void *sptr = NULL; /* string arrays expect char **, arrange that */ - if (type == RPM_STRING_ARRAY_TYPE) { + if (type == RPM_STRING_ARRAY_TYPE || type == RPM_I18NSTRING_TYPE) { sptr = &val; } else if (type == RPM_STRING_TYPE) { sptr = val; |