fpexif: Undo previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
8312fda08f
commit
d6e6b78c99
@ -223,9 +223,8 @@ begin
|
|||||||
|
|
||||||
// From the current stream position (at the end) and the position where
|
// From the current stream position (at the end) and the position where
|
||||||
// the segment size must be written, we calculate the size of the segment
|
// the segment size must be written, we calculate the size of the segment
|
||||||
startPos := ASegmentStartPos + SizeOf(word);
|
startPos := ASegmentStartPos + SizeOf(word); // skip 2 marker bytes
|
||||||
segmentSize := AStream.Position - startPos;
|
segmentSize := AStream.Position - startPos;
|
||||||
segmentSize := segmentSize - 2; // skip two marker bytes
|
|
||||||
|
|
||||||
// Move the stream to where the segment size must be written...
|
// Move the stream to where the segment size must be written...
|
||||||
AStream.Position := startPos;
|
AStream.Position := startPos;
|
||||||
|
Loading…
Reference in New Issue
Block a user