summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xrdp/xrdp_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdp/xrdp_cache.c b/xrdp/xrdp_cache.c
index f029f590..72e11ed9 100644
--- a/xrdp/xrdp_cache.c
+++ b/xrdp/xrdp_cache.c
@@ -156,7 +156,7 @@ xrdp_cache_add_bitmap(struct xrdp_cache* self, struct xrdp_bitmap* bitmap)
self->bitmap_items[i][j].stamp = self->bitmap_stamp;
DEBUG(("found bitmap at %d %d\n\r", i, j));
xrdp_bitmap_delete(bitmap);
- return MAKELONG(i, j);
+ return MAKELONG(j, i);
}
}
}