aboutsummaryrefslogtreecommitdiff
path: root/windows.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2008-09-13 19:21:53 +0000
committerSimon Tatham <anakin@pobox.com>2008-09-13 19:21:53 +0000
commit0819e8ec76ecf1e484cbf5c4f7605a84c8b15dab (patch)
treec695d654c00b318a72aaa32319cf65e544291317 /windows.c
parent961f3d12b782e38fbb493140b40e9e31f5fbd71f (diff)
downloadpuzzles-0819e8ec76ecf1e484cbf5c4f7605a84c8b15dab.zip
puzzles-0819e8ec76ecf1e484cbf5c4f7605a84c8b15dab.tar.gz
puzzles-0819e8ec76ecf1e484cbf5c4f7605a84c8b15dab.tar.bz2
puzzles-0819e8ec76ecf1e484cbf5c4f7605a84c8b15dab.tar.xz
Typo spotted by James H.
[originally from svn r8180]
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c2
1 files changed, 1 insertions, 1 deletions
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.