mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 795226 - Check for null composing span to avoid crash. r=blassey
This commit is contained in:
parent
4428b1f6ca
commit
d11df45da0
@ -509,8 +509,8 @@ class GeckoInputConnection
|
||||
if (imm != null && imm.isFullscreenMode()) {
|
||||
int newStart;
|
||||
int newEnd;
|
||||
if (hasCompositionString()) {
|
||||
Span span = getComposingSpan();
|
||||
Span span = getComposingSpan();
|
||||
if (span != null && hasCompositionString()) {
|
||||
newStart = span.start;
|
||||
newEnd = span.end;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user