mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
Build fix in smapi.cc
This commit is contained in:
parent
bad23c7b77
commit
22de36271d
@ -69,7 +69,7 @@ static char *smapi_read_str(const char *path)
|
||||
perror("fscanf()");
|
||||
fclose(fp);
|
||||
}
|
||||
return strndup(str, text_buffer_size);
|
||||
return strndup(str, text_buffer_size.get(*state));
|
||||
}
|
||||
|
||||
static char *smapi_get_str(const char *fname)
|
||||
|
Loading…
Reference in New Issue
Block a user