Just a minor bug that caught my attention while glancing at the code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25105 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
60222c8bac
commit
cd81456e14
@ -638,7 +638,7 @@ BShelf::Save()
|
||||
{
|
||||
status_t status = B_ERROR;
|
||||
if (fEntry != NULL) {
|
||||
BFile *file = new BFile(fEntry, B_READ_WRITE);
|
||||
BFile *file = new BFile(fEntry, B_READ_WRITE | B_ERASE_FILE);
|
||||
status = file->InitCheck();
|
||||
if (status < B_OK) {
|
||||
delete file;
|
||||
|
Loading…
Reference in New Issue
Block a user