Fix typo in error message

This commit is contained in:
Noé Lopez 2023-01-06 17:05:41 +01:00 committed by Lukas Dürrenberger
parent 3f4bb1ae12
commit 0bb6303cf8

View File

@ -2212,7 +2212,7 @@ Vector2i WindowImplX11::getPrimaryMonitorPosition()
XRRScreenResources* res = XRRGetScreenResources(m_display, rootWindow); XRRScreenResources* res = XRRGetScreenResources(m_display, rootWindow);
if (!res) if (!res)
{ {
err() << "Failed to get the current screen resources for.primary monitor position" << std::endl; err() << "Failed to get the current screen resources for primary monitor position" << std::endl;
return monitorPosition; return monitorPosition;
} }
@ -2233,7 +2233,7 @@ Vector2i WindowImplX11::getPrimaryMonitorPosition()
if (outputInfo) if (outputInfo)
XRRFreeOutputInfo(outputInfo); XRRFreeOutputInfo(outputInfo);
err() << "Failed to get output info for.primary monitor position" << std::endl; err() << "Failed to get output info for primary monitor position" << std::endl;
return monitorPosition; return monitorPosition;
} }
@ -2243,7 +2243,7 @@ Vector2i WindowImplX11::getPrimaryMonitorPosition()
{ {
XRRFreeScreenResources(res); XRRFreeScreenResources(res);
XRRFreeOutputInfo(outputInfo); XRRFreeOutputInfo(outputInfo);
err() << "Failed to get crtc info for.primary monitor position" << std::endl; err() << "Failed to get crtc info for primary monitor position" << std::endl;
return monitorPosition; return monitorPosition;
} }