aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/e-text
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-10-12 03:32:36 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-10-12 03:32:36 +0800
commite440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3 (patch)
tree2de578911d3c171b98f44a1ecda1b01cc4763f45 /a11y/e-text
parent5bbde1a63071c17b11f01132030ac15a8e803755 (diff)
downloadgsoc2013-evolution-e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3.tar
gsoc2013-evolution-e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3.tar.gz
gsoc2013-evolution-e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3.tar.bz2
gsoc2013-evolution-e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3.tar.lz
gsoc2013-evolution-e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3.tar.xz
gsoc2013-evolution-e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3.tar.zst
gsoc2013-evolution-e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3.zip
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
Diffstat (limited to 'a11y/e-text')
-rw-r--r--a11y/e-text/gal-a11y-e-text.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/a11y/e-text/gal-a11y-e-text.c b/a11y/e-text/gal-a11y-e-text.c
index 06fe40d41b..be7835e17d 100644
--- a/a11y/e-text/gal-a11y-e-text.c
+++ b/a11y/e-text/gal-a11y-e-text.c
@@ -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;