We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e869dbf commit 9e62309Copy full SHA for 9e62309
Client/core/Graphics/CVideoModeManager.cpp
@@ -697,7 +697,7 @@ SString CVideoModeManager::GetCurrentAdapterDeviceName()
697
{
698
// Ensure null termination for x86 safety
699
monitorInfo.szDevice[sizeof(monitorInfo.szDevice) - 1] = '\0';
700
- return SString(monitorInfo.szDevice);
+ return std::string(monitorInfo.szDevice);
701
}
702
703
return "";
0 commit comments