forked from AuroraMiddleware/gtk
imcontextwayland: (Hopefully) fix if expression
This commit is contained in:
parent
c51f1fda28
commit
f9a5a474f0
@ -282,7 +282,7 @@ notify_surrounding_text (GtkIMContextWayland *context)
|
||||
end = &context->surrounding.text[MAX_LEN];
|
||||
}
|
||||
else if (context->surrounding.cursor_idx > len - MAX_LEN &&
|
||||
context->surrounding.cursor_idx > len - MAX_LEN)
|
||||
context->surrounding.anchor_idx > len - MAX_LEN)
|
||||
{
|
||||
start = &context->surrounding.text[len - MAX_LEN];
|
||||
end = &context->surrounding.text[len];
|
||||
|
Loading…
Reference in New Issue
Block a user