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

Bow to GCC harder.

parent 1f8ef6ce
Branches
Tags
1 merge request!455Update branch with changes from master
......@@ -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