diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-04-13 09:58:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-04-13 09:58:38 +0000 |
| commit | d67f437458ed96b55d475a471d1a16da52ca4cd4 (patch) | |
| tree | d52e117c34d6e3d191d5be50ac026b384d223cbc /vt.c | |
| parent | ci: alpine: add missing dependencies: pixman + libxkbcommon (diff) | |
mbstate: fix compile warning on systems where mbstate_t isn't an integral
An empty initializer still ensures the entire object is
zero-initialized.
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -536,7 +536,7 @@ static void action_utf8_print(struct terminal *term, uint8_t c) { /* Convert to wchar */ - mbstate_t ps = {0}; + mbstate_t ps = {}; wchar_t wc; size_t count = mbrtowc( &wc, (const char *)term->vt.utf8.data, term->vt.utf8.idx, &ps); |
