No need for mbstate_t to be static

This commit is contained in:
Kevin Ballard
2014-09-21 20:47:03 -07:00
parent e1f623f548
commit a027566295
2 changed files with 2 additions and 3 deletions

View File

@@ -243,7 +243,7 @@ wchar_t input_common_readch(int timed)
}
wchar_t res;
static mbstate_t state;
mbstate_t state = {};
while (1)
{