projects
/
platform
/
upstream
/
libexif.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9f3a1a
)
also do not translate name in sub entries.
author
Marcus Meissner
<marcus@jet.franken.de>
Mon, 16 Oct 2006 09:56:50 +0000
(11:56 +0200)
committer
Marcus Meissner
<marcus@jet.franken.de>
Mon, 16 Oct 2006 09:56:50 +0000
(11:56 +0200)
libexif/canon/mnote-canon-tag.c
patch
|
blob
|
history
diff --git
a/libexif/canon/mnote-canon-tag.c
b/libexif/canon/mnote-canon-tag.c
index 1d4d8785c035027a3d3f6ae782d0f7f6924f1662..98d6389b31c34813c4c4940ec62d74060a28877f 100644
(file)
--- 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);
}