minor fix in lib/si/dir.c
This commit is contained in:
parent
a3ac936eab
commit
58017aedb4
@ -886,7 +886,7 @@ int qse_dir_read (qse_dir_t* dir, qse_dir_ent_t* ent)
|
|||||||
x = read_dir_to_buf(dir, &name);
|
x = read_dir_to_buf(dir, &name);
|
||||||
if (x >= 1)
|
if (x >= 1)
|
||||||
{
|
{
|
||||||
QSE_MEMSET (ent, 0, QSE_SIZEOF(ent));
|
QSE_MEMSET (ent, 0, QSE_SIZEOF(*ent));
|
||||||
ent->name = name;
|
ent->name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user