Index: libexif/sources/libexif/canon/mnote-canon-tag.c |
=================================================================== |
--- libexif/sources/libexif/canon/mnote-canon-tag.c (revision 143189) |
+++ libexif/sources/libexif/canon/mnote-canon-tag.c (working copy) |
@@ -161,7 +161,7 @@ |
unsigned int i; |
#if defined(BIND_TEXTDOMAIN) |
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); |
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); |
#endif |
for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) |
if (table[i].tag == t) return (_(table[i].title)); |
@@ -194,10 +194,10 @@ |
for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) |
if (table[i].tag == t) { |
- if (!*table[i].description) |
+ if (!table[i].description || !*table[i].description) |
return ""; |
#if defined(BIND_TEXTDOMAIN) |
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); |
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); |
#endif |
return _(table[i].description); |
} |