aboutsummaryrefslogtreecommitdiff
path: root/src/image.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2008-12-25 09:57:55 -0300
committerJorge Arellano Cid <jcid@dillo.org>2008-12-25 09:57:55 -0300
commit5486bedf18450ae4de413c4174a0175948c95c3e (patch)
tree2f7bcdd68df40a36e4f8f3f67c70ce108bf321df /src/image.cc
parenta821e0e87480e8b812ab5975c1031d5ee5eb2587 (diff)
Started code cleanup of the image code mainly in dicache.c. part#1
Diffstat (limited to 'src/image.cc')
-rw-r--r--src/image.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/image.cc b/src/image.cc
index 54eb4710..462ec90c 100644
--- a/src/image.cc
+++ b/src/image.cc
@@ -54,7 +54,6 @@ DilloImage *a_Image_new(int width,
Image->cmap = NULL;
Image->in_type = DILLO_IMG_TYPE_NOTSET;
Image->bg_color = bg_color;
- Image->ProcessedBytes = 0;
Image->ScanNumber = 0;
Image->BitVec = NULL;
Image->State = IMG_Empty;
@@ -172,7 +171,7 @@ void a_Image_new_scan(DilloImage *Image, void *v_imgbuf)
void a_Image_write(DilloImage *Image, void *v_imgbuf,
const uchar_t *buf, uint_t y, int decode)
{
- uchar_t *newbuf;
+ const uchar_t *newbuf;
dReturn_if_fail ( y < Image->height );