On 06.01.2014 07:52, Wenchao Xia wrote:
>> @@ -781,10 +784,10 @@ static void vnc_dpy_copy(DisplayChangeListener *dcl,
>> if ((s = w - w_lim) == 0)
>> break;
>> } else if (!x) {
>> -s = (16 - (dst_x % 16));
>> +s =
> @@ -781,10 +784,10 @@ static void vnc_dpy_copy(DisplayChangeListener *dcl,
> if ((s = w - w_lim) == 0)
> break;
> } else if (!x) {
> -s = (16 - (dst_x % 16));
> +s = (16 - (dst_x % VNC_DIRTY_PIXELS_PER_BIT));
S
Signed-off-by: Peter Lieven
---
ui/vnc.c | 61 ++---
ui/vnc.h |6 +-
2 files changed, 43 insertions(+), 24 deletions(-)
diff --git a/ui/vnc.c b/ui/vnc.c
index 5601cc3..1ca6021 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -442,17 +442,1