From abd32303162b7cc79cde35099fc8648ecda4e7c5 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 16 Oct 2006 11:56:50 +0200 Subject: [PATCH] also do not translate name in sub entries. --- libexif/canon/mnote-canon-tag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexif/canon/mnote-canon-tag.c b/libexif/canon/mnote-canon-tag.c index 1d4d878..98d6389 100644 --- a/libexif/canon/mnote-canon-tag.c +++ b/libexif/canon/mnote-canon-tag.c @@ -122,7 +122,7 @@ mnote_canon_tag_get_name (MnoteCanonTag t) unsigned int i; for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) - if (table[i].tag == t) return (table[i].name); /* do not translate */ + if (table[i].tag == t) return table[i].name; /* do not translate */ return NULL; } @@ -132,7 +132,7 @@ mnote_canon_tag_get_name_sub (MnoteCanonTag t, unsigned int s) unsigned int i; for (i = 0; i < sizeof (table_sub) / sizeof (table_sub[0]); i++) if ((table_sub[i].tag == t) && (table_sub[i].subtag == s)) - return _(table_sub[i].name); + return table_sub[i].name; return mnote_canon_tag_get_name (t); } -- 2.34.1