mirror of
https://github.com/cavv-dev/Kekatsu-DS.git
synced 2025-06-18 16:55:40 -04:00
Change path check from d->value to d->path
This commit is contained in:
parent
ff8dff02f3
commit
9bfd8ad2c0
@ -243,7 +243,7 @@ DatabaseInitStatus initDatabase(Database d)
|
||||
case DATABASE_TYPE_LOCAL:
|
||||
d->path = strdup(d->value);
|
||||
|
||||
if (!pathExists(d->value))
|
||||
if (!pathExists(d->path))
|
||||
return DATABASE_INIT_ERR_FILE_NOT_FOUND;
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user