summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Schwiebert2011-08-24 13:06:41 (EDT)
committer Fabian Steeg2011-08-24 13:06:41 (EDT)
commit9655eebac0163346b4b1b977c6f5976b997a1220 (patch)
tree3ab0766c02d9a5da5a9acbf36385fc24c5f6b392
parenta38ee10baad145aef83cc8375ead6ad9c42586b5 (diff)
downloadorg.eclipse.gef4-9655eebac0163346b4b1b977c6f5976b997a1220.zip
org.eclipse.gef4-9655eebac0163346b4b1b977c6f5976b997a1220.tar.gz
org.eclipse.gef4-9655eebac0163346b4b1b977c6f5976b997a1220.tar.bz2
bugfix: Failed to detect word boundaries on windows 7/x64
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=355590) Change-Id: I99b07ce9ca68061e847fa499684362a0140bdd52
-rw-r--r--org.eclipse.zest.cloudio/src/main/java/org/eclipse/zest/cloudio/TagCloud.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.zest.cloudio/src/main/java/org/eclipse/zest/cloudio/TagCloud.java b/org.eclipse.zest.cloudio/src/main/java/org/eclipse/zest/cloudio/TagCloud.java
index ca9d246..dfd9f12 100644
--- a/org.eclipse.zest.cloudio/src/main/java/org/eclipse/zest/cloudio/TagCloud.java
+++ b/org.eclipse.zest.cloudio/src/main/java/org/eclipse/zest/cloudio/TagCloud.java
@@ -514,7 +514,7 @@ public class TagCloud extends Canvas {
for (int y = 0; y < id.height; y++) {
id.getPixels(0, y, id.width, pixels, 0);
for (int i = 0; i < pixels.length; i++) {
- if (pixels[i] == 0) {
+ if (pixels[i] < 5) {
matrix[y][i] = true;
}
}