mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-02 11:05:29 -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];
|
||||
|
||||
for (GuideResource guide : guides) {
|
||||
guide.location = pInput.readInt();
|
||||
guide.direction = pInput.readByte();
|
||||
for (int i = 0; i < guides.length; i++) {
|
||||
guides[i] = new GuideResource();
|
||||
guides[i].location = pInput.readInt();
|
||||
guides[i].direction = pInput.readByte();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user