OSDN Git Service

In drawWChar(), allow for the unlikely possibility that the character to be rendered...
authorEric Branlund <ebranlund@fastmail.com>
Sun, 22 Nov 2020 01:01:19 +0000 (17:01 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Sun, 22 Nov 2020 01:03:43 +0000 (17:03 -0800)
commita7ee8e8af9d9c6a7d5eeca15fea21aa3bd7041dc
tree6f3c9f8bf3cce4a3dd2694acdd02a441d3f84184
parent3b9dc1018ab819dc99653da8a161126e6c42ad25
In drawWChar(), allow for the unlikely possibility that the character to be rendered requires two UniChars (as a surrogate pair). Previously had assumed that only one UniChar was needed and cast the whcar_t to a UniChar.
src/main-cocoa.m