summaryrefslogtreecommitdiff
path: root/tools/gen-script-for-lang.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-03-05 00:50:29 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-03-05 00:50:29 +0000
commit320f8cd2773015af4d3d1d5fb035c2ab11d5c921 (patch)
tree9b18fda40ede9bb4956297f1230d51e2cde8881a /tools/gen-script-for-lang.c
parenta0fac74e05f36a410256e581eca3ec8fd573195d (diff)
downloadpango-320f8cd2773015af4d3d1d5fb035c2ab11d5c921.tar.gz
Reduce non-shared data (#168899, inspired by patches from Tommi Komulainen
2005-03-04 Owen Taylor <otaylor@redhat.com> Reduce non-shared data (#168899, inspired by patches from Tommi Komulainen and Ross Burton) * pango/pango-color.c pango/pango-color-table.h tools/gen-color-table.pl: Redo storage of colors to use offsets into a static string rather than embedded strings. (Inspired by a patch from Tommi Komulainen, #168899) * pango/break.c pango/fonts.c pango/pango-color.c pango/pango-layout.c pango/pango-markup.c pango/pango-script-lang-table.h pango/mini-fribidi/fribidi_types.c tools/gen-script-for-lang.c: Add const in various places * modules/arabic/arabic-fc.c modules/hebrew/hebrew-fc.c: modules/indic/{indic-fc.c,indic-ot-class-tables.c, indic-ot.h} modules/syriac/syriac-ot.c (syriac): Further addition of const.
Diffstat (limited to 'tools/gen-script-for-lang.c')
-rw-r--r--tools/gen-script-for-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-script-for-lang.c b/tools/gen-script-for-lang.c
index 0eb8e7ad..9b243e31 100644
--- a/tools/gen-script-for-lang.c
+++ b/tools/gen-script-for-lang.c
@@ -269,7 +269,7 @@ int main (int argc, char **argv)
" PangoScript scripts[%d];\n"
"} PangoScriptForLang;\n"
"\n"
- "PangoScriptForLang pango_script_for_lang[] = {\n",
+ "static const PangoScriptForLang pango_script_for_lang[] = {\n",
max_lang_len,
MAX_SCRIPTS);