summaryrefslogtreecommitdiffstats
path: root/examples/org.eclipse.swt.snippets/src
diff options
context:
space:
mode:
authorCarolyn MacLeod <carolyn>2011-04-28 18:25:42 +0000
committerCarolyn MacLeod <carolyn>2011-04-28 18:25:42 +0000
commit43c3ac53534e21543d2adf230ed55fbab0a3c1e4 (patch)
treeee330fa0cd25e9e7c56231babe6ed5d251e6903d /examples/org.eclipse.swt.snippets/src
parentb0c3aa7fe48d89e7e18eeb9e5e611ae5464f0617 (diff)
downloadeclipse.platform.swt-43c3ac53534e21543d2adf230ed55fbab0a3c1e4.tar.gz
eclipse.platform.swt-43c3ac53534e21543d2adf230ed55fbab0a3c1e4.tar.xz
eclipse.platform.swt-43c3ac53534e21543d2adf230ed55fbab0a3c1e4.zip
*** empty log message ***
Diffstat (limited to 'examples/org.eclipse.swt.snippets/src')
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet355.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet355.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet355.java
index 0ffc167d82..af32e721cd 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet355.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet355.java
@@ -35,7 +35,7 @@ public class Snippet355 {
GC gc = e.gc;
int x = 10, y = 10;
gc.drawImage (image, 0, 0, width, height, x, y, width, height);
- gc.drawImage (image, 0, 0, width, height, x + width, y, (int)Math.round(width * 0.5), (int)Math.round(height * 0.5));
+ gc.drawImage (image, 0, 0, width, height, x+width, y, (int)Math.round(width * 0.5), (int)Math.round(height * 0.5));
gc.drawImage (image, 0, 0, width, height, x+width+(int)Math.round(width * 0.5), y, width * 2, height * 2);
}
});