aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 8b18d168..43b7d259 100644
--- a/input.c
+++ b/input.c
@@ -695,7 +695,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
const wchar_t wc = 0x80 | buf[0];
char utf8[8];
- mbstate_t ps = {0};
+ mbstate_t ps = {};
size_t chars = wcrtomb(utf8, wc, &ps);
if (chars != (size_t)-1)