mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 03:25:28 -04:00
Fixed an embarrassing NPE...
This commit is contained in:
parent
fbb51f0387
commit
7e8662772c
@ -45,9 +45,10 @@ final class PSDGridAndGuideInfo extends PSDImageResource {
|
|||||||
|
|
||||||
guides = new GuideResource[guideCount];
|
guides = new GuideResource[guideCount];
|
||||||
|
|
||||||
for (GuideResource guide : guides) {
|
for (int i = 0; i < guides.length; i++) {
|
||||||
guide.location = pInput.readInt();
|
guides[i] = new GuideResource();
|
||||||
guide.direction = pInput.readByte();
|
guides[i].location = pInput.readInt();
|
||||||
|
guides[i].direction = pInput.readByte();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user