mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Some additional sprintf and std::string cleanup
This commit is contained in:
@ -84,9 +84,7 @@ HRESULT hsGDirect3DTnLEnumerate::SelectFromDevMode(const hsG3DDeviceRecord* devR
|
||||
}
|
||||
}
|
||||
}
|
||||
char errStr[256];
|
||||
|
||||
sprintf(errStr, "Can't find requested device - %s:%s:%s:%s:%s",
|
||||
plString errStr = plString::Format("Can't find requested device - %s:%s:%s:%s:%s",
|
||||
devRec->GetG3DDeviceTypeName(),
|
||||
devRec->GetDriverDesc().c_str(),
|
||||
devRec->GetDriverName().c_str(),
|
||||
|
Reference in New Issue
Block a user