From: Jan P. <pa...@us...> - 2007-12-15 16:42:20
|
Update of /cvsroot/libexif/libexif/libexif/canon In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv5905/canon Modified Files: mnote-canon-entry.c Log Message: Some items did not get translated Index: mnote-canon-entry.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/canon/mnote-canon-entry.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -p -d -r1.25 -r1.26 --- mnote-canon-entry.c 14 Nov 2007 05:27:19 -0000 1.25 +++ mnote-canon-entry.c 15 Dec 2007 16:42:13 -0000 1.26 @@ -449,8 +449,8 @@ canon_search_table_value (const struct c } } if ((table[j].subtag == t) && (table[j].value == vs) && table[j].name) { - /* Matching subtag and value found. */ - strncpy (val, table[j].name, maxlen); + /* Matching subtag and value found. */ + strncpy (val, _(table[j].name), maxlen); } else { /* No matching subtag and/or value found. */ snprintf (val, maxlen, "0x%04x", vs); @@ -473,9 +473,9 @@ canon_search_table_bitfield (const struc unsigned int i, bit, lastbit = 0; /* - * Search the table for the last matching bit, because - * that one needs no additional comma appended. - */ + * Search the table for the last matching bit, because + * that one needs no additional comma appended. + */ for (i = j; table[i].name && (table[i].subtag == t); i++) { bit = table[i].value; if ((vs >> bit) & 1) { |