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

timestamp for prompt connection and friend request alerts

This commit is contained in:
Jfreegman
2014-01-22 23:29:28 -05:00
parent 06b09cd981
commit 866cafbf1b
3 changed files with 11 additions and 5 deletions

View File

@ -59,7 +59,7 @@ int string_is_empty(char *string)
}
/* convert a multibyte string to a wide character string (must provide buffer) */
int char_to_wcs_buf(wchar_t *buf, const uint8_t *string, size_t n)
int mbs_to_wcs_buf(wchar_t *buf, const uint8_t *string, size_t n)
{
size_t len = mbstowcs(NULL, string, 0) + 1;