summary refs log tree commit diff
path: root/Functions/Zle/keeper
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2006-01-09 00:37:10 +0000
committerWayne Davison <wayned@users.sourceforge.net>2006-01-09 00:37:10 +0000
commit791bbf7120ff0282d7bd659b839d642835a21665 (patch)
tree113f14b2dced0ae17b5d8c5995a3a358ee890c3c /Functions/Zle/keeper
parent74b4973888d2fc3ccb8bfdfb6180c0145220609e (diff)
downloadzsh-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/keeper')
0 files changed, 0 insertions, 0 deletions