Skip to content

Commit

Permalink
revert last fix; was wrong
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4950 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
det committed Jun 21, 2008
1 parent b6f5085 commit 273fb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/ymage/ymageMatrix.java
Expand Up @@ -75,7 +75,7 @@ public ymageMatrix(int width, int height, byte drawMode, String backgroundColor)
}

public ymageMatrix(int width, int height, byte drawMode, long backgroundColor) {
if (!(serverMemory.request(1024L * 1024L + 3 * width * height, false))) throw new RuntimeException("ymage: not enough memory (" + serverMemory.available() + ") available");
if (!(serverMemory.request(1024 * 1024 + 3 * width * height, false))) throw new RuntimeException("ymage: not enough memory (" + serverMemory.available() + ") available");
this.width = width;
this.height = height;
this.backgroundCol = backgroundColor;
Expand Down

0 comments on commit 273fb01

Please sign in to comment.