Author: gschneider
Date: Thu Apr 8 23:25:02 2010
New Revision: 46781
URL:
http://svn.reactos.org/svn/reactos?rev=46781&view=rev
Log:
[SHELL32] Add missing format specifier, switch parameters as advertised
Modified:
trunk/reactos/dll/win32/shell32/fprop.c
Modified: trunk/reactos/dll/win32/shell32/fprop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/fprop.c?…
==============================================================================
--- trunk/reactos/dll/win32/shell32/fprop.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/fprop.c [iso-8859-1] Thu Apr 8 23:25:02 2010
@@ -114,7 +114,7 @@
{
/* 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;
}