Skip to content
Snippets Groups Projects
Commit bb9b789c authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Bow to GCC harder.

parent 8450539e
No related branches found
No related tags found
No related merge requests found
Pipeline #5707 passed
......@@ -1913,7 +1913,8 @@ x11_event(XEvent *ev)
if (ch) {
// Bow to GCC
if (ch == 0xe0) // Double-up 0xe0
write(key_pipe[1], &ch, 1);
if (write(key_pipe[1], &ch, 1) == -1)
return;
if (write(key_pipe[1], &ch, 1) == EXIT_SUCCESS)
return;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment