(Checkin for Roland.Mainz@informatik.med.uni-giessen.de). Bug 127520 "Large pictures print corrupted", r=db48x, sr=attinasi

This commit is contained in:
smontagu%netscape.com 2002-04-15 22:57:12 +00:00
Родитель b25f8d8f9b
Коммит f8c2254863
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -3913,7 +3913,7 @@ xxlib_draw_xprint_scaled_rgb_image( XlibRgbHandle *handle,
int rowstride)
{
long available = ((65536 < handle->max_request_size) ?
(65536 << 2):(handle->max_request_size << 2))
(65536 << 1):(handle->max_request_size << 1))
- 512 /* SIZEOF(xPutImageReq) */;
if (image_resolution == 0)
@ -3935,8 +3935,8 @@ xxlib_draw_xprint_scaled_rgb_image( XlibRgbHandle *handle,
#ifdef DEBUG
printf("xxlib_draw_xprint_scaled_rgb_image: "
"splitting image x=%d, y=%d, width=%d, height=%d, subimageheight=%d, scaling_factor=%g\n",
x, y, width, height, subimageheight, scaling_factor);
"splitting image x=%d, y=%d, width=%d, height=%d, subimageheight=%d, scaling_factor=%g, max_request_size=%ld, available=%ld\n",
x, y, width, height, subimageheight, scaling_factor, (long)handle->max_request_size, (long)available);
#endif /* DEBUG */
if (subimageheight == 0)