projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d672ad
)
[SHELL32] Add missing format specifier, switch parameters as advertised
author
Gregor Schneider
<grschneider@gmail.com>
Thu, 8 Apr 2010 21:25:02 +0000
(21:25 +0000)
committer
Gregor Schneider
<grschneider@gmail.com>
Thu, 8 Apr 2010 21:25:02 +0000
(21:25 +0000)
svn path=/trunk/; revision=46781
reactos/dll/win32/shell32/fprop.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/shell32/fprop.c
b/reactos/dll/win32/shell32/fprop.c
index
529854e
..
4d9345c
100644
(file)
--- a/
reactos/dll/win32/shell32/fprop.c
+++ b/
reactos/dll/win32/shell32/fprop.c
@@
-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;
}