From c233bb4a80eca4a0c1ea2bdaf395e0d084a14883 Mon Sep 17 00:00:00 2001 From: Yong Bakos Date: Fri, 5 Apr 2013 13:05:06 -0600 Subject: [PATCH] Fixing incorrect characters in the example that looked like subtraction operators but weren't. References processing/processing_web#45 --- .../Processing Handbook/Extensions/Mobile/Ex_01/Ex_01.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/examples/Books/Processing Handbook/Extensions/Mobile/Ex_01/Ex_01.pde b/java/examples/Books/Processing Handbook/Extensions/Mobile/Ex_01/Ex_01.pde index 2e1c732d9..160fa2647 100755 --- a/java/examples/Books/Processing Handbook/Extensions/Mobile/Ex_01/Ex_01.pde +++ b/java/examples/Books/Processing Handbook/Extensions/Mobile/Ex_01/Ex_01.pde @@ -5,6 +5,6 @@ PImage img = loadImage("sprite.png"); // The coordinates (0, 0) refer to the top-left corder of the screen image(img, 0, 0); // The following coordinate calculations will center the image in the screen -image(img, (width – img.width) / 2, (height – img.height) / 2); +image(img, (width - img.width) / 2, (height - img.height) / 2); // Finally, the next line will position the image in the bottom-right corner -image(img, width – img.width, height – img.height); \ No newline at end of file +image(img, width - img.width, height - img.height); \ No newline at end of file