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

Side by Side Diff: libexif/sources/libexif/fuji/mnote-fuji-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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* mnote-fuji-tag.c 1 /* mnote-fuji-tag.c
2 * 2 *
3 * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net> 3 * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public 6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 return NULL; 91 return NULL;
92 } 92 }
93 93
94 const char * 94 const char *
95 mnote_fuji_tag_get_description (MnoteFujiTag t) 95 mnote_fuji_tag_get_description (MnoteFujiTag t)
96 { 96 {
97 unsigned int i; 97 unsigned int i;
98 98
99 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) 99 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++)
100 if (table[i].tag == t) { 100 if (table[i].tag == t) {
101 » » » if (!*table[i].description) 101 » » » if (!table[i].description || !*table[i].description)
102 return ""; 102 return "";
103 #if defined(BIND_TEXTDOMAIN) 103 #if defined(BIND_TEXTDOMAIN)
104 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); 104 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
105 #endif 105 #endif
106 return _(table[i].description); 106 return _(table[i].description);
107 } 107 }
108 return NULL; 108 return NULL;
109 } 109 }
OLDNEW
« no previous file with comments | « libexif/sources/libexif/exif-utils.h ('k') | libexif/sources/libexif/olympus/mnote-olympus-entry.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698