aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/help.c b/src/help.c
index 37dd5a6..e06bda4 100644
--- a/src/help.c
+++ b/src/help.c
@@ -308,9 +308,9 @@ teco_state_help_done(teco_machine_main_t *ctx, const teco_string_t *str, GError
* multiple topics in the same buffer without
* closing it first.
*/
- undo__teco_interface_ssm(SCI_SETEMPTYSELECTION,
+ undo__teco_interface_ssm(SCI_GOTOPOS,
teco_interface_ssm(SCI_GETCURRENTPOS, 0, 0), 0);
- teco_interface_ssm(SCI_SETEMPTYSELECTION, topic->pos, 0);
+ teco_interface_ssm(SCI_GOTOPOS, topic->pos, 0);
return &teco_state_start;
}