summaryrefslogtreecommitdiff
path: root/pango/pango-script.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-05-10 20:53:53 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-05-10 20:53:53 +0000
commitf20dc94b7ed3bcf37f5bfc8bc5d8bf8596954a60 (patch)
tree0bc004cdd83b30379a364da4ce3017b8af2d836f /pango/pango-script.c
parente4af58a9158c3a9ef82689f3a63e53521931d3b2 (diff)
downloadpango-f20dc94b7ed3bcf37f5bfc8bc5d8bf8596954a60.tar.gz
Bug 437534 – pango_language_includes_script is buggy
2007-05-10 Behdad Esfahbod <behdad@gnome.org> Bug 437534 – pango_language_includes_script is buggy * pango/pango-language.c (lang_compare_first_component), (lang_info_compare), (script_for_lang_compare), (pango_language_includes_script): Fix script_for_lang table lookup. svn path=/trunk/; revision=2273
Diffstat (limited to 'pango/pango-script.c')
-rw-r--r--pango/pango-script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-script.c b/pango/pango-script.c
index 77cc6a4e..3036c999 100644
--- a/pango/pango-script.c
+++ b/pango/pango-script.c
@@ -414,7 +414,7 @@ pango_script_get_sample_language (PangoScript script)
* (Shavian for English, Osmanya for Somali, etc), typically
* have no sample language
*/
- const char sample_languages[][4] = {
+ static const char sample_languages[][4] = {
"", /* PANGO_SCRIPT_COMMON */
"", /* PANGO_SCRIPT_INHERITED */
"ar", /* PANGO_SCRIPT_ARABIC */