From 43c3ac53534e21543d2adf230ed55fbab0a3c1e4 Mon Sep 17 00:00:00 2001 From: Carolyn MacLeod Date: Thu, 28 Apr 2011 18:25:42 +0000 Subject: *** empty log message *** --- .../src/org/eclipse/swt/snippets/Snippet355.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/org.eclipse.swt.snippets/src') 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); } }); -- cgit