chiark / gitweb /
Typo spotted by James H.
[sgt-puzzles.git] / windows.c
index 2364bddd6439ca037464e1c5362ab45f3b28da57..2a2262b88d2a370f46c228cbe66fbcacfbdbbcd4 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.