shithub: puzzles

Download patch

ref: 0819e8ec76ecf1e484cbf5c4f7605a84c8b15dab
parent: 961f3d12b782e38fbb493140b40e9e31f5fbd71f
author: Simon Tatham <[email protected]>
date: Sat Sep 13 15:21:53 EDT 2008

Typo spotted by James H.

[originally from svn r8180]

--- a/windows.c
+++ b/windows.c
@@ -839,7 +839,7 @@
      * Work out what that comes to in pixels.
      */
     pox = (int)(mmox * (float)ppw / mmpw);
-    poy = (int)(mmoy * (float)ppw / mmpw);
+    poy = (int)(mmoy * (float)pph / mmph);
 
     /*
      * And determine the scale.