[client,win] DesktopOrientaion is of type UINT16

Fixes #9841, use proper getter for settings key
This commit is contained in:
akallabeth 2024-02-07 06:36:46 +01:00 committed by akallabeth
parent 72bc3578a0
commit 5bb618330d

View File

@ -347,7 +347,7 @@ static void wf_send_resize(wfContext* wfc)
layout.Width = targetWidth;
layout.Height = targetHeight;
layout.Orientation =
freerdp_settings_get_uint32(settings, FreeRDP_DesktopOrientation);
freerdp_settings_get_uint16(settings, FreeRDP_DesktopOrientation);
layout.DesktopScaleFactor =
freerdp_settings_get_uint32(settings, FreeRDP_DesktopScaleFactor);
layout.DeviceScaleFactor =