mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
RDB also points out we don't need the CJK `not recommended for
general use' wcwidth function, so we condition it out to save space. [originally from svn r1248]
This commit is contained in:
parent
8692657fdd
commit
ea788e29c7
@ -144,7 +144,7 @@ int wcswidth(const wchar_t *pwcs, size_t n)
|
|||||||
return width;
|
return width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* RDB: we don't need the cjk version */
|
||||||
/*
|
/*
|
||||||
* The following function is the same as wcwidth(), except that
|
* The following function is the same as wcwidth(), except that
|
||||||
* spacing characters in the East Asian Ambiguous (A) category as
|
* spacing characters in the East Asian Ambiguous (A) category as
|
||||||
@ -231,3 +231,4 @@ int wcswidth_cjk(const wchar_t *pwcs, size_t n)
|
|||||||
|
|
||||||
return width;
|
return width;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user