diff options
Diffstat (limited to 'Src/Zle')
-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 7c6de6276..f67c5aeb3 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -478,7 +478,7 @@ zrefresh(void) nextline } #ifdef ZLE_UNICODE_SUPPORT -# error What to do here + *s++ = ((*t == 127) || (*t > 255)) ? '?' : (*t | '@'); #else *s++ = (*t == 127) ? '?' : (*t | '@'); #endif @@ -488,7 +488,7 @@ zrefresh(void) i = wcrtomb(s, *t, &shiftstate); if (i == -1) { - /* error; what to do? */ + *s++ = '?'; } else { s += i; } |