projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cae1d1
)
Use exclusive coordinates in CacheToSurface.
author
Armin Novak
<armin.novak@thincast.com>
Fri, 31 Mar 2017 10:06:21 +0000
(12:06 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Fri, 31 Mar 2017 10:06:21 +0000
(12:06 +0200)
libfreerdp/gdi/gfx.c
patch
|
blob
|
history
diff --git
a/libfreerdp/gdi/gfx.c
b/libfreerdp/gdi/gfx.c
index
49c96c2
..
99f7079
100644
(file)
--- a/
libfreerdp/gdi/gfx.c
+++ b/
libfreerdp/gdi/gfx.c
@@
-979,8
+979,8
@@
static UINT gdi_CacheToSurface(RdpgfxClientContext* context,
invalidRect.left = destPt->x;
invalidRect.top = destPt->y;
- invalidRect.right = destPt->x + cacheEntry->width
- 1
;
- invalidRect.bottom = destPt->y + cacheEntry->height
- 1
;
+ invalidRect.right = destPt->x + cacheEntry->width;
+ invalidRect.bottom = destPt->y + cacheEntry->height;
region16_union_rect(&surface->invalidRegion, &surface->invalidRegion,
&invalidRect);
}