minor fix in lib/si/dir.c
This commit is contained in:
parent
a3ac936eab
commit
58017aedb4
@ -883,10 +883,10 @@ int qse_dir_read (qse_dir_t* dir, qse_dir_ent_t* ent)
|
|||||||
int x;
|
int x;
|
||||||
void* name;
|
void* name;
|
||||||
|
|
||||||
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