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