diff options
Diffstat (limited to 'Src/Zle/zle_refresh.c')
-rw-r--r-- | Src/Zle/zle_refresh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 6c63774da..66efef77f 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -459,10 +459,10 @@ zrefresh(void) if (t == scs) /* if cursor is here, remember it */ nvcs = s - (unsigned char *)(nbuf[nvln = ln]); - if (*t == ZLENL){ /* newline */ + if (*t == ZWC('\n')){ /* newline */ nbuf[ln][winw + 1] = '\0'; /* text not wrapped */ nextline - } else if (*t == ZLETAB) { /* tab */ + } else if (*t == ZWC('\t')) { /* tab */ t0 = (char *)s - nbuf[ln]; if ((t0 | 7) + 1 >= winw) { nbuf[ln][winw + 1] = '\n'; /* text wrapped */ |