Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Unified Diff: libexif/sources/libexif/canon/mnote-canon-tag.c

Issue 10792004: Fetch libexif 0.6.21 to include the security fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libexif/sources/libexif/canon/mnote-canon-entry.c ('k') | libexif/sources/libexif/exif-byte-order.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « libexif/sources/libexif/canon/mnote-canon-entry.c ('k') | libexif/sources/libexif/exif-byte-order.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698