sync
This commit is contained in:
parent
c4f88bac04
commit
577746d350
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue