diff options
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; |