mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 20:15:28 -04:00
A little safer way to skip 6 bytes...
(cherry picked from commit b76f74e79ab1de8d4537651b070f0b3e43e63542)
This commit is contained in:
parent
e5f6227479
commit
f55a6d30dd
@ -82,7 +82,10 @@ final class TGAExtensions {
|
|||||||
extensions.creationDate = readDate(stream);
|
extensions.creationDate = readDate(stream);
|
||||||
extensions.jobId = readString(stream, 41);
|
extensions.jobId = readString(stream, 41);
|
||||||
|
|
||||||
stream.skipBytes(6); // Job time, 3 shorts, hours/minutes/seconds elapsed
|
// Job time, 3 shorts, hours/minutes/seconds elapsed
|
||||||
|
stream.readShort();
|
||||||
|
stream.readShort();
|
||||||
|
stream.readShort();
|
||||||
|
|
||||||
extensions.softwareId = readString(stream, 41);
|
extensions.softwareId = readString(stream, 41);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user