1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-30 08:26:45 +02:00

fixed prompt input

This commit is contained in:
Jfreegman
2013-10-23 03:24:08 -04:00
parent 3d7fb13847
commit b9b3487581
4 changed files with 32 additions and 26 deletions

View File

@ -60,7 +60,7 @@ int string_is_empty(char *string)
uint8_t *wcs_to_char(wchar_t *string)
{
size_t len = 0;
char *ret = NULL;
uint8_t *ret = NULL;
len = wcstombs(NULL, string, 0);
if (len != (size_t) -1) {