diff options
author | Larry Ewing <lewing@ximian.com> | 2003-10-12 03:32:36 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2003-10-12 03:32:36 +0800 |
commit | e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3 (patch) | |
tree | 2de578911d3c171b98f44a1ecda1b01cc4763f45 | |
parent | 5bbde1a63071c17b11f01132030ac15a8e803755 (diff) | |
download | gsoc2013-evolution-e440b4e39b4de3b7ca0e4e56c9bae9c43d2de2e3.tar.gz 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
-rw-r--r-- | a11y/e-text/gal-a11y-e-text.c | 3 |
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; |