mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Some additional sprintf and std::string cleanup
This commit is contained in:
@ -196,7 +196,7 @@ public:
|
||||
plClothingElement *element = tileset->fElements.Get(i);
|
||||
SendMessage(GetDlgItem(hWnd, plClothingMtl::TextConstants[2 * i]),
|
||||
WM_SETTEXT, NULL, (LPARAM)element->fName.c_str());
|
||||
sprintf(buff, "(%d, %d)", element->fWidth, element->fHeight);
|
||||
snprintf(buff, arrsize(buff), "(%d, %d)", element->fWidth, element->fHeight);
|
||||
SendMessage(GetDlgItem(hWnd, plClothingMtl::TextConstants[2 * i + 1]),
|
||||
WM_SETTEXT, NULL, (LPARAM)buff);
|
||||
|
||||
|
Reference in New Issue
Block a user