Forgot to rename an reference to a function after I modified the function name

This commit is contained in:
Scr3amer 2023-04-06 19:36:53 -04:00 committed by GitHub
parent 741ad809b1
commit 7e2f1e4c5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,7 +441,7 @@ static BOOL CALLBACK monitorCallback(HMONITOR handle,
if (wcscmp(mi.szDevice, monitor->win32.adapterName) == 0) if (wcscmp(mi.szDevice, monitor->win32.adapterName) == 0)
{ {
monitor->win32.handle = handle; monitor->win32.handle = handle;
possiblyMoreAccurateMonitorName = GetAccurateMonitorName(mi.szDevice); possiblyMoreAccurateMonitorName = getAccurateMonitorName(mi.szDevice);
if(possiblyMoreAccurateMonitorName != NULL) if(possiblyMoreAccurateMonitorName != NULL)
{ {
strncpy(monitor->name, possiblyMoreAccurateMonitorName, sizeof(monitor->name) - 1); strncpy(monitor->name, possiblyMoreAccurateMonitorName, sizeof(monitor->name) - 1);