mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Patch from Yoshida Masato to fill in the missing pieces of Windows
UTF-16 support. High Unicode characters in the terminal are now converted back into surrogates during copy and draw operations, and the Windows drawing code takes account of that when splitting up the UTF-16 string for display. Meanwhile, accidental uses of wchar_t have been replaced with 32-bit integers in parts of the cross-platform code which were expecting not to have to deal with UTF-16. [originally from svn r9409]
This commit is contained in:
@ -58,7 +58,7 @@ shapetypes[(xh)-SHAPE_FIRST].type : SU) /*))*/
|
||||
#define leastGreaterEven(x) ( ((x)+2) &~ 1 )
|
||||
|
||||
typedef struct bidi_char {
|
||||
wchar_t origwc, wc;
|
||||
unsigned int origwc, wc;
|
||||
unsigned short index;
|
||||
} bidi_char;
|
||||
|
||||
|
Reference in New Issue
Block a user