about summary refs log tree commit diff
path: root/Src/Zle/zle_main.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-08 11:44:09 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-08 11:44:09 +0000
commit2ace0ce4f2803367a3006384172136a54118614e (patch)
treeb5d8be867c03a0d7fc05044308e216cc7cd0eb2b /Src/Zle/zle_main.c
parent8db5846e31506ecd0e5a50202411f22725d63e43 (diff)
downloadzsh-2ace0ce4f2803367a3006384172136a54118614e.tar.gz
zsh-2ace0ce4f2803367a3006384172136a54118614e.tar.xz
zsh-2ace0ce4f2803367a3006384172136a54118614e.zip
19553: rename c in zle to lastchar
Diffstat (limited to 'Src/Zle/zle_main.c')
-rw-r--r--Src/Zle/zle_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 25d2539dc..2ed250e14 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -76,7 +76,7 @@ int mark;
 /* last character pressed */
 
 /**/
-int c;
+mod_export int lastchar;
 
 /* the bindings for the previous and for this key */
 
@@ -688,7 +688,7 @@ zlecore(void)
 	selectlocalmap(NULL);
 	bindk = getkeycmd();
 	if (!ll && isfirstln && !(zlereadflags & ZLRF_IGNOREEOF) &&
-	    c == eofchar) {
+	    lastchar == eofchar) {
 	    eofsent = 1;
 	    break;
 	}