mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
Since REGION16 uses unsigned values, when appWindow->x or appWindow->y is negative, the region will have a very large left or top value. Avoid this problem by clamping to 0 before casting to an unsigned value.