diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-12-12 09:04:00 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-12-12 09:04:00 +0000 |
commit | a902f8eb1112e59109ff14520706bb75f3cf6790 (patch) | |
tree | 7ab15d722bbf2d4b89e9f77efa9fab3cae7049fb | |
parent | 646a71162cabe13f96627ea6cbeb91864e9fc625 (diff) | |
download | vte-a902f8eb1112e59109ff14520706bb75f3cf6790.tar.gz |
Avoid pointers in the const array.
2008-12-12 Behdad Esfahbod <behdad@gnome.org>
* src/iso2022.c (_vte_iso2022_ambiguous_width): Avoid pointers in the
const array.
svn path=/trunk/; revision=2341
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/iso2022.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2008-12-12 Behdad Esfahbod <behdad@gnome.org> + * src/iso2022.c (_vte_iso2022_ambiguous_width): Avoid pointers in the + const array. + +2008-12-12 Behdad Esfahbod <behdad@gnome.org> + Bug 149631 – gnome-terminal doesn't combine combining chars in utf8 * src/vteunistr.c: diff --git a/src/iso2022.c b/src/iso2022.c index 94e7bb8e..a42e5964 100644 --- a/src/iso2022.c +++ b/src/iso2022.c @@ -320,7 +320,7 @@ _vte_iso2022_ambiguous_width_guess(void) static int _vte_iso2022_ambiguous_width(struct _vte_iso2022_state *state) { - const char *wide_codelist[] = { + const char wide_codelist[][10] = { "big5", "big5hkscs", "euccn", |