mirror of
https://github.com/ksherlock/profuse.git
synced 2025-01-18 12:29:44 +00:00
=/== issue
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@288 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
54a75af101
commit
e4efb135ed
@ -237,7 +237,7 @@ void FileEntry::truncateCommon(unsigned newSize)
|
||||
|
||||
_lastBlock = 1 + _firstBlock + newSize / 512;
|
||||
_lastByte = newSize % 512;
|
||||
if (_lastByte = 0) _lastByte = 512;
|
||||
if (_lastByte == 0) _lastByte = 512;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user