--- parser3/src/classes/image.C 2001/09/17 16:14:04 1.40.4.2 +++ parser3/src/classes/image.C 2001/09/20 15:00:57 1.40.4.4 @@ -5,9 +5,9 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: image.C,v 1.40.4.2 2001/09/17 16:14:04 parser Exp $ + $Id: image.C,v 1.40.4.4 2001/09/20 15:00:57 parser Exp $ */ -static const char *RCSId="$Id: image.C,v 1.40.4.2 2001/09/17 16:14:04 parser Exp $"; +static const char *RCSId="$Id: image.C,v 1.40.4.4 2001/09/20 15:00:57 parser Exp $"; /* jpegsize: gets the width and height (in pixels) of a jpeg file @@ -50,7 +50,7 @@ public: // Methoded /// simple buffered reader[from memory/file], used in _measure class Measure_reader { public: - enum { READ_CHUNK_SIZE=0x400*10 };// 10K + enum { READ_CHUNK_SIZE=0x400*20 };// 20K typedef size_t(*Func)(void *& buf, size_t limit, void *info); Measure_reader(Func afunc, void *ainfo) : @@ -472,7 +472,7 @@ static void add_point(Array::Item *value (**p).x=row.get_string(0)->as_int(); (**p).y=row.get_string(1)->as_int(); - *p++; + (*p)++; } #endif static void _replace(Request& r, const String& method_name, MethodParams *params) {