summary refs log tree commit diff
path: root/Src/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/input.c')
-rw-r--r--Src/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/input.c b/Src/input.c
index 739c7cf42..ef3472259 100644
--- a/Src/input.c
+++ b/Src/input.c
@@ -275,8 +275,8 @@ inputline(void)
 	int flags = ZLRF_HISTORY|ZLRF_NOSETTY;
 	if (isset(IGNOREEOF))
 	    flags |= ZLRF_IGNOREEOF;
-	ingetcline = (char *)zleread(ingetcpmptl, ingetcpmptr, flags,
-				     context);
+	ingetcline = (char *)zlereadptr(ingetcpmptl, ingetcpmptr, flags,
+					context);
 	histdone |= HISTFLAG_SETTY;
     }
     if (!ingetcline) {