From e4efb135edf02cf600c1aa51b220d95169febb83 Mon Sep 17 00:00:00 2001 From: ksherlock Date: Thu, 27 May 2010 16:23:24 +0000 Subject: [PATCH] =/== issue git-svn-id: https://profuse.googlecode.com/svn/branches/v2@288 aa027e90-d47c-11dd-86d7-074df07e0730 --- Pascal/FileEntry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pascal/FileEntry.cpp b/Pascal/FileEntry.cpp index ffbf206..20ed478 100644 --- a/Pascal/FileEntry.cpp +++ b/Pascal/FileEntry.cpp @@ -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; }