diff options
Diffstat (limited to 'libxrdp')
-rw-r--r-- | libxrdp/xrdp_bitmap_compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libxrdp/xrdp_bitmap_compress.c b/libxrdp/xrdp_bitmap_compress.c index 0a05b87f..db1d573a 100644 --- a/libxrdp/xrdp_bitmap_compress.c +++ b/libxrdp/xrdp_bitmap_compress.c @@ -948,7 +948,7 @@ xrdp_bitmap_compress(char* in_data, int width, int height, OUT_COPY_COUNT1(count, s, temp_s); } } - else if (bpp == 16) + else if ((bpp == 15) || (bpp == 16)) { mix = 0xffff; out_count = end * 2; |