openbsd-ports/x11/gnome/gnopernicus/patches/patch-srlow_libsrlow_SRLow_c
jasper 6cd1acdbca import gnopernicus 1.1.2
Gnopernicus is part of the GNOME Accessibility Project. It is a screen
reader and magnifier and it enables users with limited vision, or no
vision, to use the Gnome 2 desktop and Gnome/GTK+2 applications
effectively. By providing automated focus tracking and fullscreen
magnification, Gnopernicus aids low-vision Gnome users.

feedback and ok ajacoutot@
2008-03-17 19:09:42 +00:00

16 lines
648 B
Plaintext

$OpenBSD: patch-srlow_libsrlow_SRLow_c,v 1.1.1.1 2008/03/17 19:09:42 jasper Exp $
--- srlow/libsrlow/SRLow.c.orig Wed Feb 13 21:28:33 2008
+++ srlow/libsrlow/SRLow.c Wed Feb 13 21:29:24 2008
@@ -645,8 +645,10 @@ srl_get_focused_cell (Accessible *acc_table)
for (i = rows; !rv && i <= rowe && count < SRL_MAX_CHILDREN_CNT; i++)
for (j = cols; !rv && j <= cole && count < SRL_MAX_CHILDREN_CNT; j++)
{
+ Accessible *cell;
+
count++;
- Accessible *cell = AccessibleTable_getAccessibleAt (table, i, j);
+ cell = AccessibleTable_getAccessibleAt (table, i, j);
if (cell)
{
if (srl_acc_has_state (cell, SPI_STATE_FOCUSED))