summaryrefslogtreecommitdiff
path: root/riscos/jpeg.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-02-28 11:49:13 +0000
committerJames Bursa <james@netsurf-browser.org>2003-02-28 11:49:13 +0000
commit817421cb0f87df2ef21dfbad65b84c21da098071 (patch)
tree40edbb8e5ce24448a191655e553dd15fdda50c89 /riscos/jpeg.c
parent05318b210daaa6d68b74f154fef1dae81503eaa8 (diff)
downloadnetsurf-817421cb0f87df2ef21dfbad65b84c21da098071.tar.gz
netsurf-817421cb0f87df2ef21dfbad65b84c21da098071.tar.bz2
[project @ 2003-02-28 11:49:13 by bursa]
More status messages, bug fixes. svn path=/import/netsurf/; revision=102
Diffstat (limited to 'riscos/jpeg.c')
-rw-r--r--riscos/jpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/jpeg.c b/riscos/jpeg.c
index 48f43ca8e..f8ef1c7d0 100644
--- a/riscos/jpeg.c
+++ b/riscos/jpeg.c
@@ -1,5 +1,5 @@
/**
- * $Id: jpeg.c,v 1.1 2003/02/25 21:00:27 bursa Exp $
+ * $Id: jpeg.c,v 1.2 2003/02/28 11:49:13 bursa Exp $
*
* This is just a temporary implementation using the JPEG renderer
* available in some versions of RISC OS.
@@ -26,6 +26,7 @@ void jpeg_process_data(struct content *c, char *data, unsigned long size)
c->data.jpeg.data = xrealloc(c->data.jpeg.data, c->data.jpeg.length + size);
memcpy(c->data.jpeg.data + c->data.jpeg.length, data, size);
c->data.jpeg.length += size;
+ c->size += size;
}