Add an assert for Issue 1784 (crash signature 450)
This commit is contained in:
@@ -3853,6 +3853,7 @@ BOOL LLWindowWin32::handleImeRequests(U32 request, U32 param, LRESULT *result)
|
|||||||
mPreeditor->getPreeditRange(&preedit, &preedit_length);
|
mPreeditor->getPreeditRange(&preedit, &preedit_length);
|
||||||
LLCoordGL caret_coord;
|
LLCoordGL caret_coord;
|
||||||
LLRect preedit_bounds, text_control;
|
LLRect preedit_bounds, text_control;
|
||||||
|
llassert_always(char_position); // <singu> Remove before release, this is just to investigate signature 450.
|
||||||
const S32 position = wstring_wstring_length_from_utf16_length(wtext, preedit, char_position->dwCharPos);
|
const S32 position = wstring_wstring_length_from_utf16_length(wtext, preedit, char_position->dwCharPos);
|
||||||
|
|
||||||
if (!mPreeditor->getPreeditLocation(position, &caret_coord, &preedit_bounds, &text_control))
|
if (!mPreeditor->getPreeditLocation(position, &caret_coord, &preedit_bounds, &text_control))
|
||||||
|
|||||||
Reference in New Issue
Block a user