Major code cleanup:
- Initialized and zeroed out local variables - Check for some null pointers - Fixed some typos - Other minor changes (beautify, etc.)
This commit is contained in:
@@ -950,7 +950,7 @@ xrdp_bitmap_compress(char* in_data, int width, int height,
|
||||
}
|
||||
else if ((bpp == 15) || (bpp == 16))
|
||||
{
|
||||
mix = 0xffff;
|
||||
mix = (bpp == 15) ? 0xba1f : 0xffff;
|
||||
out_count = end * 2;
|
||||
line = in_data + width * start_line * 2;
|
||||
while (start_line >= 0 && out_count < 32768)
|
||||
|
||||
Reference in New Issue
Block a user