mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Convert many of the now-deprecated plString::Format calls to plFormat
This commit is contained in:
@ -63,7 +63,7 @@ plString GetTextAddr(uint32_t binAddr)
|
||||
{
|
||||
in_addr in;
|
||||
memcpy(&in, &binAddr, sizeof(binAddr));
|
||||
return plString::Format("%s", inet_ntoa(in));
|
||||
return plString::FromUtf8(inet_ntoa(in));
|
||||
}
|
||||
|
||||
// NOTE: On Win32, WSAStartup() must be called before GetBinAddr() will work.
|
||||
|
Reference in New Issue
Block a user