utf8: use correct type for values in interval table
We treat these as unsigned everywhere and compare against unsigned values, so declare them using the typedef we already have for this. While we're here, fix the indentation as well. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
df5213b70d
commit
a68a67dea3
4
utf8.c
4
utf8.c
@ -5,8 +5,8 @@
|
|||||||
/* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */
|
/* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */
|
||||||
|
|
||||||
struct interval {
|
struct interval {
|
||||||
int first;
|
ucs_char_t first;
|
||||||
int last;
|
ucs_char_t last;
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t display_mode_esc_sequence_len(const char *s)
|
size_t display_mode_esc_sequence_len(const char *s)
|
||||||
|
Loading…
Reference in New Issue
Block a user