Use wchar_t instead of int in struct interval

This commit is contained in:
mintsuki 2022-12-08 12:17:32 +01:00
parent a82ef0a111
commit 79b4969f59
1 changed files with 2 additions and 2 deletions

4
term.c
View File

@ -856,8 +856,8 @@ static uint8_t dec_special_to_cp437(uint8_t c) {
// https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
struct interval {
int first;
int last;
wchar_t first;
wchar_t last;
};
/* auxiliary function for binary search in interval table */