Description

This is similar to a problem that GetSelText used to have. The GetTextRange only allocates "nLast - nFirst + 1" characters, but it needs to double that because every character can take up two bytes in MBCS.