summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_bitmap.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-01-07 01:21:09 +0000
committerjsorg71 <jsorg71>2005-01-07 01:21:09 +0000
commite14b8365fab73f97d2c55be746eb98a7044639d8 (patch)
tree58f849cdd8d8bbe7b994ea19f3d9edd77b7eb477 /xrdp/xrdp_bitmap.c
parent9611a5f111a54492ff12f1c864736bec46c8d7cb (diff)
downloadxrdp-proprietary-e14b8365fab73f97d2c55be746eb98a7044639d8.tar.gz
xrdp-proprietary-e14b8365fab73f97d2c55be746eb98a7044639d8.zip
commit bitmap compres work and moved some files around
Diffstat (limited to 'xrdp/xrdp_bitmap.c')
-rw-r--r--xrdp/xrdp_bitmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c
index 21264e6c..18803a6a 100644
--- a/xrdp/xrdp_bitmap.c
+++ b/xrdp/xrdp_bitmap.c
@@ -130,7 +130,9 @@ struct xrdp_bitmap* xrdp_bitmap_get_child_by_id(struct xrdp_bitmap* self,
{
b = (struct xrdp_bitmap*)xrdp_list_get_item(self->child_list, i);
if (b->id == id)
+ {
return b;
+ }
}
return 0;
}
@@ -591,7 +593,7 @@ int xrdp_bitmap_invalidate(struct xrdp_bitmap* self, struct xrdp_rect* rect)
{
if (rect != 0)
{
- self->wm->mod->mod_invalidate((int)self->wm->mod,
+ self->wm->mod->mod_invalidate(self->wm->mod,
rect->left, rect->top,
rect->right - rect->left,
rect->bottom - rect->top);