chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
961f3d1
)
Typo spotted by James H.
author
Simon Tatham
<anakin@pobox.com>
Sat, 13 Sep 2008 19:21:53 +0000
(19:21 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sat, 13 Sep 2008 19:21:53 +0000
(19:21 +0000)
[originally from svn r8180]
windows.c
patch
|
blob
|
history
diff --git
a/windows.c
b/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)pp
w / mmpw
);
+ poy = (int)(mmoy * (float)pp
h / mmph
);
/*
* And determine the scale.