diff options
Diffstat (limited to 'accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c')
-rw-r--r-- | accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c b/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c new file mode 100644 index 000000000..86addc0fc --- /dev/null +++ b/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c @@ -0,0 +1,14 @@ +--- srlow/libsrlow/SRObject.c.orig Mon Feb 28 17:11:27 2005 ++++ srlow/libsrlow/SRObject.c Mon Feb 28 17:11:41 2005 +@@ -4206,9 +4206,10 @@ + offset = AccessibleText_getCaretOffset (acc_text); + if (offset == AccessibleText_getCharacterCount (acc_text) && offset > 0) + { ++ char *ret; + offset--; + last = TRUE;/*the char is the last char in the text*/ +- char *ret = AccessibleText_getTextBeforeOffset (acc_text, offset+1, ++ ret = AccessibleText_getTextBeforeOffset (acc_text, offset+1, + SPI_TEXT_BOUNDARY_LINE_START, &line_start_offset, &line_end_offset); + SPI_freeString (ret); + if (offset == line_start_offset && offset > 0) |