1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 01:53:02 +01:00

Update autocomplete.c

This commit is contained in:
dantok 2015-01-25 21:52:07 +01:00
parent 37b3b5a5ed
commit eeeaf8d707

View File

@ -209,8 +209,7 @@ static void complt_home_dir(ToxWindow *self, char *path, int pathsize, const cha
{
ChatContext *ctx = self->chatwin;
char homedir[MAX_STR_SIZE];
homedir[0] = '\0';
char homedir[MAX_STR_SIZE] = {0};
get_home_dir(homedir, sizeof(homedir));
char newline[MAX_STR_SIZE];