summaryrefslogtreecommitdiff
path: root/pango/mini-fribidi
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 /pango/mini-fribidi
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 'pango/mini-fribidi')
-rw-r--r--pango/mini-fribidi/fribidi_types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/mini-fribidi/fribidi_types.c b/pango/mini-fribidi/fribidi_types.c
index b025d033..2729592d 100644
--- a/pango/mini-fribidi/fribidi_types.c
+++ b/pango/mini-fribidi/fribidi_types.c
@@ -117,7 +117,7 @@ fribidi_type_name (FriBidiCharType c)
#endif
/* Map fribidi_prop_types to fribidi_types. */
-static FriBidiCharType fribidi_prop_to_type_array[] = {
+static const FriBidiCharType fribidi_prop_to_type_array[] = {
#define _FRIBIDI_ADD_TYPE(TYPE) FRIBIDI_TYPE_##TYPE,
#include "fribidi_types.i"
#undef _FRIBIDI_ADD_TYPE