Typo spotted by James H.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 13 Sep 2008 19:21:53 +0000 (19:21 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 13 Sep 2008 19:21:53 +0000 (19:21 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8180 cda61777-01e9-0310-a592-d414129be87e

windows.c

index 2364bdd..2a2262b 100644 (file)
--- a/windows.c
+++ b/windows.c
@@ -839,7 +839,7 @@ static void win_begin_puzzle(void *handle, float xm, float xc,
      * 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.