mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[wdk] fixed non wchar GetWindowText
This commit is contained in:
parent
1c302ee594
commit
60ac60ceb0
1 changed files with 2 additions and 2 deletions
4
rufus.c
4
rufus.c
|
@ -578,8 +578,8 @@ BOOL Format(char DriveLetter)
|
||||||
|
|
||||||
// TODO: properly set MediaType
|
// TODO: properly set MediaType
|
||||||
FormatErr = 0;
|
FormatErr = 0;
|
||||||
GetWindowText(hFileSystem, wFSType, ARRAYSIZE(wFSType));
|
GetWindowTextW(hFileSystem, wFSType, ARRAYSIZE(wFSType));
|
||||||
GetWindowText(hLabel, wLabel, ARRAYSIZE(wLabel));
|
GetWindowTextW(hLabel, wLabel, ARRAYSIZE(wLabel));
|
||||||
pfFormatEx(wDriveRoot, RemovableMedia, wFSType, wLabel,
|
pfFormatEx(wDriveRoot, RemovableMedia, wFSType, wLabel,
|
||||||
(IsDlgButtonChecked(hMainDialog, IDC_QUICKFORMAT) == BST_CHECKED),
|
(IsDlgButtonChecked(hMainDialog, IDC_QUICKFORMAT) == BST_CHECKED),
|
||||||
4096, FormatExCallback);
|
4096, FormatExCallback);
|
||||||
|
|
Loading…
Reference in a new issue