mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-21 17:35:06 +00:00
Fix for app user path
This commit is contained in:
parent
69d224c7ff
commit
8383645722
@ -13,7 +13,7 @@ error_t app_paths_get_user_data_directory(const char* app_id, char* out_path, si
|
|||||||
if (error != ERROR_NONE) {
|
if (error != ERROR_NONE) {
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
int written = std::snprintf(out_path, out_path_size, "%s/app/%s", root, app_id);
|
int written = std::snprintf(out_path, out_path_size, "%s/user/app/%s", root, app_id);
|
||||||
if (written < 0 || (size_t)written >= out_path_size) {
|
if (written < 0 || (size_t)written >= out_path_size) {
|
||||||
return ERROR_BUFFER_OVERFLOW;
|
return ERROR_BUFFER_OVERFLOW;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user