SL-18713 fix crash in handleCompositionMessage (#12)

master
Maxim Nikolenko 2022-11-25 18:16:31 +02:00 committed by GitHub
parent 0d3becc2db
commit d01f7afff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -4100,6 +4100,10 @@ void LLWindowWin32::handleStartCompositionMessage()
void LLWindowWin32::handleCompositionMessage(const U32 indexes)
{
if (!mPreeditor)
{
return;
}
BOOL needs_update = FALSE;
LLWString result_string;
LLWString preedit_string;