diff options
author | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-08-02 12:38:01 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-08-02 12:38:01 +0100 |
commit | e0d3c55f8900b46e060dc3fbc68c51fa69e36bba (patch) | |
tree | 28c2aa128e67d6fb097fb8da7b9d0935791312df /perllib/Page.pm | |
parent | eb17f9b573c3307e815a5b30f87a7dd4fe899c29 (diff) |
Add /rss/n/ RSS feeds.
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r-- | perllib/Page.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index 470625749..0a3d755a7 100644 --- a/perllib/Page.pm +++ b/perllib/Page.pm @@ -637,7 +637,7 @@ sub os_to_tile { return $_[0] / SCALE_FACTOR; } sub tile_to_os { - return $_[0] * SCALE_FACTOR; + return int($_[0] * SCALE_FACTOR + 0.5); } sub click_to_tile { |