cache: Fix wrong condition found by covscan
copy_paste_error: "xorMaskData" in "pointer_color->xorMaskData" looks like a copy-paste error.
@@ -120,7 +120,7 @@ static BOOL update_pointer_color(rdpContext* context,
pointer->lengthAndMask = pointer_color->lengthAndMask;
pointer->lengthXorMask = pointer_color->lengthXorMask;
- if (pointer->lengthAndMask && pointer_color->xorMaskData)
+ if (pointer->lengthAndMask && pointer_color->andMaskData)
{
pointer->andMaskData = (BYTE*) malloc(pointer->lengthAndMask);
