make sure the declation is at the beginning of the block.

2003-10-11  Larry Ewing  <lewing@ximian.com>

        * gal/a11y/e-text/ChangeLog: make sure the declation is at the
        beginning of the block.

svn path=/trunk/; revision=22868
This commit is contained in:
Larry Ewing 2003-10-11 19:32:36 +00:00 committed by Larry Ewing
parent 5bbde1a630
commit e440b4e39b

View File

@ -801,10 +801,11 @@ et_set_caret_offset (AtkText *text,
if (offset < -1)
return FALSE;
else {
ETextEventProcessorCommand command;
if (offset == -1)
offset = et_get_character_count (text);
ETextEventProcessorCommand command;
command.action = E_TEP_MOVE;
command.position = E_TEP_VALUE;
command.value = offset;