From: Simon Tatham Date: Sat, 13 Sep 2008 19:21:53 +0000 (+0000) Subject: Typo spotted by James H. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=0819e8ec76ecf1e484cbf5c4f7605a84c8b15dab;p=sgt-puzzles.git Typo spotted by James H. [originally from svn r8180] --- diff --git a/windows.c b/windows.c index 2364bdd..2a2262b 100644 --- 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.