diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-01-23 16:39:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-01-23 16:39:25 +0000 |
| commit | 75b8fc52b85c945e71a6fb6f2e616ee242b07b43 (patch) | |
| tree | 1ebb14462530d19cd03e7a5ac26073f500219ca8 /scripts | |
| parent | csi: disable save/restore highlight mouse tracking (diff) | |
vt: bug: fix check for error from mbrtowc()
mbrtowc() returns an unsigned. Need to cast to signed before checking
if less than zero.
This fixes an issue where invalid utf-8 sequences where treated as valid.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
