diff options
author | jsorg71 <jsorg71> | 2005-11-07 01:49:19 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-11-07 01:49:19 +0000 |
commit | 9655dff4627c57cf27c8e16ffc1f7a4e9e4b8b91 (patch) | |
tree | 614a43bbf19741720e10c93bfaeff9a8529ec60c /xrdp/xrdp_cache.c | |
parent | 9df403d5236130c9f43ddfa8f35a15eec0cf36c8 (diff) | |
download | xrdp-proprietary-9655dff4627c57cf27c8e16ffc1f7a4e9e4b8b91.tar.gz xrdp-proprietary-9655dff4627c57cf27c8e16ffc1f7a4e9e4b8b91.zip |
MAKELONG should be lo, hi, not hi, lo
Diffstat (limited to 'xrdp/xrdp_cache.c')
-rw-r--r-- | xrdp/xrdp_cache.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xrdp/xrdp_cache.c b/xrdp/xrdp_cache.c index 57ec1f72..f029f590 100644 --- a/xrdp/xrdp_cache.c +++ b/xrdp/xrdp_cache.c @@ -174,7 +174,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); } } } @@ -192,7 +192,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); } } } @@ -260,7 +260,7 @@ xrdp_cache_add_bitmap(struct xrdp_cache* self, struct xrdp_bitmap* bitmap) bitmap->height, bitmap->bpp, bitmap->data, cache_id, cache_idx); } - return MAKELONG(cache_id, cache_idx); + return MAKELONG(cache_idx, cache_id); } /*****************************************************************************/ @@ -337,7 +337,7 @@ xrdp_cache_add_char(struct xrdp_cache* self, { self->char_items[i][j].stamp = self->char_stamp; DEBUG(("found font at %d %d\n\r", i, j)); - return MAKELONG(i, j); + return MAKELONG(j, i); } } } @@ -370,7 +370,7 @@ xrdp_cache_add_char(struct xrdp_cache* self, fi->height = font_item->height; self->char_items[f][c].stamp = self->char_stamp; libxrdp_orders_send_font(self->session, fi, f, c); - return MAKELONG(f, c); + return MAKELONG(c, f); } /*****************************************************************************/ |