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:01:19 +0000 (17:01 -0800)
commit2a0b2429e242b91de4c2ae4f721b35e0826552c0
tree73bd914172a2682aa6b7f9d168aa60a13d41248f
parent4f2f128d4ff2e5fd9382d3bbe3fdede2941e68ac
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