mirror of
https://github.com/cavv-dev/Kekatsu-DS.git
synced 2025-06-18 16:55:40 -04:00
Make use of joinPath for building dbFilePath
This commit is contained in:
parent
222e368767
commit
ff8dff02f3
@ -224,7 +224,7 @@ DatabaseInitStatus initDatabase(Database d)
|
||||
safeStr(dbFileName);
|
||||
|
||||
char dbFilePath[PATH_MAX];
|
||||
snprintf(dbFilePath, sizeof(dbFilePath), "%s/%s", CACHE_DIR, dbFileName);
|
||||
joinPath(dbFilePath, CACHE_DIR, dbFileName);
|
||||
free(dbFileName);
|
||||
|
||||
d->path = strdup(dbFilePath);
|
||||
|
Loading…
Reference in New Issue
Block a user