Mercurial > geeqie
diff src/preferences.c @ 1053:77ca9a5d42be
fixed charset of exiv2 strings in non-utf8 locales
author | nadvornik |
---|---|
date | Sat, 04 Oct 2008 20:28:31 +0000 |
parents | e59a9c96d290 |
children | 1646720364cf |
line wrap: on
line diff
--- a/src/preferences.c Wed Oct 01 20:57:56 2008 +0000 +++ b/src/preferences.c Sat Oct 04 20:28:31 2008 +0000 @@ -1328,11 +1328,12 @@ for (i = 0; ExifUIList[i].key; i++) { - const gchar *title; + gchar *title; title = exif_get_description_by_key(ExifUIList[i].key); exif_item(table, 0, i, title, ExifUIList[i].current, &ExifUIList[i].temp); + g_free(title); } }