Merge pull request #500 from Azaezel/alpha40/ScreenResFix

typofix in getScreenResolutionList
This commit is contained in:
Lukas Joergensen 2021-07-14 14:43:21 +02:00 committed by GitHub
commit 2c87c69dfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -848,7 +848,7 @@ function getScreenResolutionList(%deviceID, %deviceMode)
// For borderless on non-windows OS only add the usable area.
if ((%deviceMode == $Video::ModeBorderless) && ($platform !$= "windows"))
{
%borderlessRes = getWords(Canvas.getMonitorUsableRect(%newDeviceID), 2);
%borderlessRes = getWords(Canvas.getMonitorUsableRect(%deviceID), 2);
return _makePrettyResString(%borderlessRes);
}