mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-06-12 17:32:20 +00:00
Compare commits
2 Commits
9fef0c209d
...
47206f0fd8
Author | SHA1 | Date | |
---|---|---|---|
|
47206f0fd8 | ||
|
f642d1451d |
|
@ -1,7 +1,7 @@
|
||||||
# Universal AppleCommander version number. Used for:
|
# Universal AppleCommander version number. Used for:
|
||||||
# - Naming JAR file.
|
# - Naming JAR file.
|
||||||
# - The build will insert this into a file that is read at run time as well.
|
# - The build will insert this into a file that is read at run time as well.
|
||||||
version=1.9.0
|
version=1.9.1-SNAPSHOT
|
||||||
|
|
||||||
# Dependency versions
|
# Dependency versions
|
||||||
shkVersion=1.2.2
|
shkVersion=1.2.2
|
||||||
|
|
|
@ -297,7 +297,13 @@ public class DiskMapTab {
|
||||||
xpos[i] = (i * area.width) / xdim + 1;
|
xpos[i] = (i * area.width) / xdim + 1;
|
||||||
}
|
}
|
||||||
xpos[xdim] = area.width;
|
xpos[xdim] = area.width;
|
||||||
|
|
||||||
|
if (area.width <= 0 || area.height <= 0) {
|
||||||
|
// patch for issue #89
|
||||||
|
// based on stack trace it appears the bounds area may be invalid
|
||||||
|
// under some circumstances
|
||||||
|
return;
|
||||||
|
}
|
||||||
Image image = new Image(canvas.getDisplay(), area);
|
Image image = new Image(canvas.getDisplay(), area);
|
||||||
GC gc = new GC(image);
|
GC gc = new GC(image);
|
||||||
int x = 0;
|
int x = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user