summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2011-09-06 22:21:33 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2011-09-06 22:21:33 +0000
commit0f4e37d496ed75a6db97c5da47177666e89ad80a (patch)
tree96696cb5efd68ac86b456b262049c8032596caa3 /image
parente471efa0967586c7a7ab1060572ebcec0b02269f (diff)
downloadnetsurf-0f4e37d496ed75a6db97c5da47177666e89ad80a.tar.gz
netsurf-0f4e37d496ed75a6db97c5da47177666e89ad80a.tar.bz2
C89.
svn path=/trunk/netsurf/; revision=12767
Diffstat (limited to 'image')
-rw-r--r--image/mng.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/image/mng.c b/image/mng.c
index 396cd6b94..da8010912 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -601,6 +601,7 @@ static bool nsjpng_convert(struct content *c)
mng_retcode status;
unsigned long size;
char title[100];
+ mng_handle handle;
assert(c != NULL);
@@ -653,7 +654,7 @@ static bool nsjpng_convert(struct content *c)
/* free associated memory */
- mng_handle handle = mng->handle;
+ handle = mng->handle;
mng_cleanup(&handle);