Skip to content

Commit

Permalink
Fixing misplaced char
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexarian committed Dec 20, 2023
1 parent 593dabe commit c571251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libxrdp/xrdp_sec.c
Original file line number Diff line number Diff line change
Expand Up @@ -2134,7 +2134,7 @@ xrdp_sec_process_mcs_data_CS_CORE(struct xrdp_sec *self, struct stream *s)
"<Optional Field> earlyCapabilityFlags 0x%4.4x",
earlyCapabilityFlags);
if ((earlyCapabilityFlags & RNS_UD_CS_WANT_32BPP_SESSION)
+ && (supportedColorDepths & RNS_UD_32BPP_SUPPORT))
&& (supportedColorDepths & RNS_UD_32BPP_SUPPORT))
{
client_info->bpp = 32;
}
Expand Down

0 comments on commit c571251

Please sign in to comment.