mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[SHELL32] Add missing format specifier, switch parameters as advertised
svn path=/trunk/; revision=46781
This commit is contained in:
parent
0d672ad7cd
commit
d20419ee58
|
@ -114,7 +114,7 @@ SH_FileGeneralSetFileType(HWND hwndDlg, WCHAR *filext)
|
|||
{
|
||||
/* the file extension is unknown, so default to string "FileExtension File" */
|
||||
SendMessageW(hDlgCtrl, WM_GETTEXT, (WPARAM)MAX_PATH, (LPARAM)value);
|
||||
swprintf(name, value, &filext[1]);
|
||||
swprintf(name, L"%s %s", &filext[1], value);
|
||||
SendMessageW(hDlgCtrl, WM_SETTEXT, (WPARAM)NULL, (LPARAM)name);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue