diff options
| -rw-r--r-- | libxrdp/xrdp_orders.c | 4 | ||||
| -rw-r--r-- | xrdp/xrdp_painter.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libxrdp/xrdp_orders.c b/libxrdp/xrdp_orders.c index 51eac9ca..7d969514 100644 --- a/libxrdp/xrdp_orders.c +++ b/libxrdp/xrdp_orders.c @@ -2335,7 +2335,7 @@ xrdp_orders_send_bitmap(struct xrdp_orders *self, { lines_sending = xrdp_bitmap32_compress(data, width, height, s, bpp, 16384, - i - 1, temp_s, e, 0x30); + i - 1, temp_s, e, 0x10); } else { @@ -2600,7 +2600,7 @@ xrdp_orders_send_bitmap2(struct xrdp_orders *self, { lines_sending = xrdp_bitmap32_compress(data, width, height, s, bpp, 16384, - i - 1, temp_s, e, 0x30); + i - 1, temp_s, e, 0x10); } else { diff --git a/xrdp/xrdp_painter.c b/xrdp/xrdp_painter.c index 88d69b1d..e47f36ed 100644 --- a/xrdp/xrdp_painter.c +++ b/xrdp/xrdp_painter.c @@ -848,7 +848,7 @@ xrdp_painter_copy(struct xrdp_painter *self, while (i < (srcx + cx)) { w = MIN(64, ((srcx + cx) - i)); - h = MIN(64, ((srcy + cy) - j)); + h = MIN(63, ((srcy + cy) - j)); b = xrdp_bitmap_create(w, h, src->bpp, 0, self->wm); #if 1 xrdp_bitmap_copy_box_with_crc(src, b, i, j, w, h); @@ -883,7 +883,7 @@ xrdp_painter_copy(struct xrdp_painter *self, i += 64; } - j += 64; + j += 63; } xrdp_region_delete(region); |
