Remove useless else

This commit is contained in:
Kovid Goyal 2019-05-03 13:37:57 +05:30
parent b37f4333e2
commit 268e5cef3b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -861,7 +861,8 @@ is_ascii_control_char(char x) {
_glfwInputKeyboard(window, key, scancode, GLFW_PRESS, mods, _glfwInputKeyboard(window, key, scancode, GLFW_PRESS, mods,
[[markedText string] UTF8String], 1); // update pre-edit text [[markedText string] UTF8String], 1); // update pre-edit text
return; return;
} else if (in_compose_sequence) { }
if (in_compose_sequence) {
debug_key(@"Clearing pre-edit text at end of compose sequence\n"); debug_key(@"Clearing pre-edit text at end of compose sequence\n");
_glfwInputKeyboard(window, key, scancode, GLFW_PRESS, mods, _glfwInputKeyboard(window, key, scancode, GLFW_PRESS, mods,
NULL, 1); // clear pre-edit text NULL, 1); // clear pre-edit text