summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-expandos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/gui-expandos.c')
-rw-r--r--src/fe-text/gui-expandos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-expandos.c b/src/fe-text/gui-expandos.c
index c95ac621..b07bf129 100644
--- a/src/fe-text/gui-expandos.c
+++ b/src/fe-text/gui-expandos.c
@@ -37,7 +37,7 @@ static char *expando_idletime(SERVER_REC *server, void *item, int *free_ret)
/* current contents of the input line */
static char *expando_inputline(SERVER_REC *server, void *item, int *free_ret)
{
- return gui_entry_get_text();
+ return gui_entry_get_text(active_entry);
}
/* value of cutbuffer */