windows: cefclient: Fix crash when triggering IME popup (see issue #3313)
This commit is contained in:
parent
e4239b9373
commit
75c6895fb5
|
@ -74,7 +74,7 @@ void GetCompositionUnderlines(
|
|||
::ImmGetCompositionString(imc, GCS_COMPCLAUSE, &clause_data[0],
|
||||
clause_size);
|
||||
for (int i = 0; i < clause_length - 1; ++i) {
|
||||
cef_composition_underline_t underline;
|
||||
cef_composition_underline_t underline = {};
|
||||
underline.range.from = clause_data[i];
|
||||
underline.range.to = clause_data[i + 1];
|
||||
underline.color = ColorUNDERLINE;
|
||||
|
|
Loading…
Reference in New Issue