diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-02 06:45:44 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-02 06:45:44 +0800 |
commit | 364fea7bc7fd7139a8efb7abf3067021c2d2d5fa (patch) | |
tree | 68e0a6d3ca1ea1df3e25ad02cdc521734979e507 /accessibility/gok/files | |
parent | c158272f57762fc7f4bcca9e770e4a4d25a14379 (diff) | |
download | marcuscom-ports-364fea7bc7fd7139a8efb7abf3067021c2d2d5fa.tar marcuscom-ports-364fea7bc7fd7139a8efb7abf3067021c2d2d5fa.tar.gz marcuscom-ports-364fea7bc7fd7139a8efb7abf3067021c2d2d5fa.tar.bz2 marcuscom-ports-364fea7bc7fd7139a8efb7abf3067021c2d2d5fa.tar.lz marcuscom-ports-364fea7bc7fd7139a8efb7abf3067021c2d2d5fa.tar.xz marcuscom-ports-364fea7bc7fd7139a8efb7abf3067021c2d2d5fa.tar.zst marcuscom-ports-364fea7bc7fd7139a8efb7abf3067021c2d2d5fa.zip |
Update to 0.9.9.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1934 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'accessibility/gok/files')
-rw-r--r-- | accessibility/gok/files/patch-gok_gok-spy.c | 13 | ||||
-rw-r--r-- | accessibility/gok/files/patch-gok_gok-utf8-word-complete.c | 15 |
2 files changed, 28 insertions, 0 deletions
diff --git a/accessibility/gok/files/patch-gok_gok-spy.c b/accessibility/gok/files/patch-gok_gok-spy.c new file mode 100644 index 000000000..fb7f2b89b --- /dev/null +++ b/accessibility/gok/files/patch-gok_gok-spy.c @@ -0,0 +1,13 @@ +--- gok/gok-spy.c.orig Mon Mar 1 17:20:20 2004 ++++ gok/gok-spy.c Mon Mar 1 17:21:24 2004 +@@ -1287,8 +1287,9 @@ + while (parent && Accessible_getChildCount (parent) == 1) + { + char *tmp; ++ Accessible *tmp_parent; + if (maxloops-- < 1) { break; } /* guard against erroneous cyclic parent/child relations */ +- Accessible *tmp_parent = parent; ++ tmp_parent = parent; + tmp = Accessible_getName (tmp_parent); + if (tmp != NULL) + { diff --git a/accessibility/gok/files/patch-gok_gok-utf8-word-complete.c b/accessibility/gok/files/patch-gok_gok-utf8-word-complete.c new file mode 100644 index 000000000..3ee119a1e --- /dev/null +++ b/accessibility/gok/files/patch-gok_gok-utf8-word-complete.c @@ -0,0 +1,15 @@ +--- gok/gok-utf8-word-complete.c.orig Mon Mar 1 17:27:56 2004 ++++ gok/gok-utf8-word-complete.c Mon Mar 1 17:28:25 2004 +@@ -323,11 +323,11 @@ + { + /* reallocate string, dup+concat substrings */ + /* WARNING: horrible pointer math */ +- gok_log ("caution: relocating input string during case conversion."); + gint delta = newlen - len; + gchar *next_char = g_utf8_find_next_char (*utf8char, NULL); + guint offset = next_char - *word; + guint utf8_offset = (guint) (*utf8char - *word); ++ gok_log ("caution: relocating input string during case conversion."); + + *word = g_realloc (*word, strlen (*word) + 1 + delta); + next_char = *word + offset; |