This commit is contained in:
Santiago Lema 2025-11-04 20:14:03 -03:00
parent c4f88bac04
commit 577746d350

View file

@ -16,8 +16,7 @@
status_t SaveMessageToFile(const BMessage& message, const char* fileName) { status_t SaveMessageToFile(const BMessage& message, const char* fileName) {
BPath path; BPath path;
if (find_directory(B_USER_SETTINGS_DIRECTORY, &p if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) != B_OK) {
ath) != B_OK) {
return B_ERROR; return B_ERROR;
} }
path.Append(fileName); path.Append(fileName);