diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-07-03 21:56:27 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-07-03 21:56:27 +0000 |
commit | ceac1c16fd5f74a7914b85f85a691bb68e1a756f (patch) | |
tree | 17a83c72e4e81a2ccb8b8e7d278d07fb8dd2416d /gdk | |
parent | 50b1a5a9dc04af7ebdeeea29552d435fed0328d1 (diff) | |
download | gtk+-ceac1c16fd5f74a7914b85f85a691bb68e1a756f.tar.gz |
font charset is iso8859-1, not iso-8859-1.
Mon Jul 3 17:54:49 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale):
font charset is iso8859-1, not iso-8859-1.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/x11/gdkfont-x11.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdk/x11/gdkfont-x11.c b/gdk/x11/gdkfont-x11.c index cf65216542..2d2f2c2459 100644 --- a/gdk/x11/gdkfont-x11.c +++ b/gdk/x11/gdkfont-x11.c @@ -141,6 +141,7 @@ gdk_font_charset_for_locale () { static char *charset_map[][2] = { { "ANSI_X3.4-1968", "iso8859-1" }, + { "US-ASCII", "iso8859-1" }, { "ISO-8859-1", "iso8859-1" }, { "ISO-8859-2", "iso8859-2" }, { "ISO-8859-3", "iso8859-3" }, @@ -150,7 +151,7 @@ gdk_font_charset_for_locale () { "ISO-8859-7", "iso8859-7" }, { "ISO-8859-8", "iso8859-8" }, { "ISO-8859-9", "iso8859-9" }, - { "UTF-8", "iso8859-1" } + { "UTF-8", "iso8859-1" } }; char *codeset; @@ -169,7 +170,7 @@ gdk_font_charset_for_locale () if (result) return g_strdup (result); else - return g_strdup ("iso-8859-1"); + return g_strdup ("iso8859-1"); }; /** |