From 364fea7bc7fd7139a8efb7abf3067021c2d2d5fa Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 1 Mar 2004 22:45:44 +0000 Subject: Update to 0.9.9. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1934 df743ca5-7f9a-e211-a948-0013205c9059 --- accessibility/gok/files/patch-gok_gok-spy.c | 13 +++++++++++++ .../gok/files/patch-gok_gok-utf8-word-complete.c | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 accessibility/gok/files/patch-gok_gok-spy.c create mode 100644 accessibility/gok/files/patch-gok_gok-utf8-word-complete.c (limited to 'accessibility/gok/files') 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; -- cgit v1.2.3