mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 05:43:03 +01:00
Update autocomplete.c
This commit is contained in:
parent
37b3b5a5ed
commit
eeeaf8d707
@ -209,8 +209,7 @@ static void complt_home_dir(ToxWindow *self, char *path, int pathsize, const cha
|
|||||||
{
|
{
|
||||||
ChatContext *ctx = self->chatwin;
|
ChatContext *ctx = self->chatwin;
|
||||||
|
|
||||||
char homedir[MAX_STR_SIZE];
|
char homedir[MAX_STR_SIZE] = {0};
|
||||||
homedir[0] = '\0';
|
|
||||||
get_home_dir(homedir, sizeof(homedir));
|
get_home_dir(homedir, sizeof(homedir));
|
||||||
|
|
||||||
char newline[MAX_STR_SIZE];
|
char newline[MAX_STR_SIZE];
|
||||||
|
Loading…
Reference in New Issue
Block a user