mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-03 23:53:15 -04:00
Fixed an embarrassing NPE...
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user