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.
2 parents 8a4e361 + 9e62309 commit 3823fb0Copy full SHA for 3823fb0
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