summaryrefslogtreecommitdiff
path: root/src/libexif/exif-format.c
diff options
context:
space:
mode:
authorscuri <scuri>2009-08-20 12:13:11 +0000
committerscuri <scuri>2009-08-20 12:13:11 +0000
commit35733b87eed86e5228f12fa10c98a3d9d22a6073 (patch)
treeaa7e3c89788c15b925eecdbdf7e9d98291b4f469 /src/libexif/exif-format.c
parent83b3c8b629d96f5fdf754d35d5f4f5369dbfef1d (diff)
*** empty log message ***
Diffstat (limited to 'src/libexif/exif-format.c')
-rw-r--r--src/libexif/exif-format.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/libexif/exif-format.c b/src/libexif/exif-format.c
index e0c3650..d432e9e 100644
--- a/src/libexif/exif-format.c
+++ b/src/libexif/exif-format.c
@@ -1,6 +1,6 @@
/* exif-format.c
*
- * Copyright © 2001 Lutz Müller <lutz@users.sourceforge.net>
+ * Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -25,7 +25,7 @@
#include <stdlib.h>
-static struct {
+static const struct {
ExifFormat format;
const char *name;
unsigned char size;
@@ -51,7 +51,12 @@ exif_format_get_name (ExifFormat format)
unsigned int i;
/* FIXME: This belongs to somewhere else. */
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ /* libexif should use the default system locale.
+ * If an application specifically requires UTF-8, then we
+ * must give the application a way to tell libexif that.
+ *
+ * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ */
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
for (i = 0; ExifFormatTable[i].name; i++)