summaryrefslogtreecommitdiff
path: root/screenshot.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-09-02 20:34:33 +0000
committertron <tron@openttd.org>2006-09-02 20:34:33 +0000
commita286726fe98ca2e01abb712049f59fd9e3829acb (patch)
tree1d76ddc0a0102e9829207503f6e5aad1380346b1 /screenshot.c
parent5f7d99fb6d80949b9c56d2f1a79d7355ed443d40 (diff)
downloadopenttd-a286726fe98ca2e01abb712049f59fd9e3829acb.tar.xz
(svn r6347) Undo
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c
index 7fe4b2cbd..3c134cdcc 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -460,7 +460,7 @@ static void CurrentScreenCallback(void *userdata, Pixel *buf, uint y, uint pitch
// generate a large piece of the world
static void LargeWorldCallback(void *userdata, Pixel *buf, uint y, uint pitch, uint n)
{
- const ViewPort* vp = (const ViewPort*)userdata;
+ ViewPort *vp = (ViewPort *)userdata;
DrawPixelInfo dpi, *old_dpi;
int wx, left;