mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Fix typo in error message
This commit is contained in:
parent
3f4bb1ae12
commit
0bb6303cf8
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user