mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 06:59:44 +00:00
[NOTEPAD] Use StringCchPrintf instead (#5654)
Use preferred string functions. CORE-18837
This commit is contained in:
parent
eb6561bbc7
commit
3f921d1119
2 changed files with 3 additions and 3 deletions
|
@ -202,7 +202,7 @@ BOOL NOTEPAD_FindNext(FINDREPLACE *pFindReplace, BOOL bReplace, BOOL bShowAlert)
|
|||
if (bShowAlert)
|
||||
{
|
||||
LoadString(Globals.hInstance, STRING_CANNOTFIND, szResource, _countof(szResource));
|
||||
_sntprintf(szText, _countof(szText), szResource, pFindReplace->lpstrFindWhat);
|
||||
StringCchPrintf(szText, _countof(szText), szResource, pFindReplace->lpstrFindWhat);
|
||||
LoadString(Globals.hInstance, STRING_NOTEPAD, szResource, _countof(szResource));
|
||||
MessageBox(Globals.hFindReplaceDlg, szText, szResource, MB_OK);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue