From 320f8cd2773015af4d3d1d5fb035c2ab11d5c921 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sat, 5 Mar 2005 00:50:29 +0000 Subject: Reduce non-shared data (#168899, inspired by patches from Tommi Komulainen 2005-03-04 Owen Taylor 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. --- modules/thai/thai-fc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/thai/thai-fc.c') diff --git a/modules/thai/thai-fc.c b/modules/thai/thai-fc.c index cb77a0b0..444dd4f2 100644 --- a/modules/thai/thai-fc.c +++ b/modules/thai/thai-fc.c @@ -61,7 +61,7 @@ static PangoEngineInfo script_engines[] = { /* TIS-to-Unicode glyph maps for characters 0x80-0xff */ -static int tis620_0[128] = { +static const int tis620_0[128] = { /**/ 0, 0, 0, 0, 0, 0, 0, 0, /**/ 0, 0, 0, 0, 0, 0, 0, 0, /**/ 0, 0, 0, 0, 0, 0, 0, 0, @@ -80,7 +80,7 @@ static int tis620_0[128] = { 0x0e58, 0x0e59, 0x0e5a, 0x0e5b, 0, 0, 0, 0 }; -static int tis620_1[128] = { +static const int tis620_1[128] = { /**/ 0, 0, 0, 0xf88c, 0xf88f, 0xf892, 0xf895, 0xf898, 0xf88b, 0xf88e, 0xf891, 0xf894, 0xf897, 0, 0, 0xf899, /**/ 0, 0, 0xf884, 0xf889, 0xf885, 0xf886, 0xf887, 0xf888, @@ -99,7 +99,7 @@ static int tis620_1[128] = { 0x0e58, 0x0e59, 0, 0, 0, 0, 0, 0 }; -static int tis620_2[128] = { +static const int tis620_2[128] = { 0xf700, 0xf701, 0xf702, 0xf703, 0xf704, 0x2026, 0xf705, 0xf706, 0xf707, 0xf708, 0xf709, 0xf70a, 0xf70b, 0xf70c, 0xf70d, 0xf70e, 0xf70f, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, @@ -118,7 +118,7 @@ static int tis620_2[128] = { 0x0e58, 0x0e59, 0x0e5a, 0x0e5b, 0xf718, 0xf719, 0xf71a, 0 }; -static int lao_0[128] = { +static const int lao_0[128] = { /**/ 0, 0, 0, 0, 0, 0, 0, 0, /**/ 0, 0, 0, 0, 0, 0, 0, 0, /**/ 0, 0, 0, 0, 0, 0, 0, 0, -- cgit v1.2.1