diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2006-01-09 00:37:10 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2006-01-09 00:37:10 +0000 |
commit | 791bbf7120ff0282d7bd659b839d642835a21665 (patch) | |
tree | 113f14b2dced0ae17b5d8c5995a3a358ee890c3c /Functions/Zle/backward-word-match | |
parent | 74b4973888d2fc3ccb8bfdfb6180c0145220609e (diff) | |
download | zsh-791bbf7120ff0282d7bd659b839d642835a21665.tar.gz zsh-791bbf7120ff0282d7bd659b839d642835a21665.tar.xz zsh-791bbf7120ff0282d7bd659b839d642835a21665.zip |
The return value of mbrtowc() is a size_t (unsigned), so don't
assign it to an int and then check if it's > 0, as that won't work on a system where an int is larger than a size_t. Also, we needed to use STOUC() on a char value passed to nicechar(), and we need to clear the mbstate_t object if mbrtowc() returns an error.
Diffstat (limited to 'Functions/Zle/backward-word-match')
0 files changed, 0 insertions, 0 deletions