diff options
Diffstat (limited to 'src/Mount')
-rw-r--r-- | src/Mount/Mount.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index f27c2d50..716f7926 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -4823,8 +4823,10 @@ BOOL SelectContainer (HWND hwndDlg) BOOL SelectPartition (HWND hwndDlg)
{
+ RawDevicesDlgParam param;
+ param.pszFileName = szFileName;
int nResult = DialogBoxParamW (hInst, MAKEINTRESOURCEW (IDD_RAWDEVICES_DLG), hwndDlg,
- (DLGPROC) RawDevicesDlgProc, (LPARAM) & szFileName[0]);
+ (DLGPROC) RawDevicesDlgProc, (LPARAM) & param);
if (nResult == IDOK)
{
AddComboItem (GetDlgItem (hwndDlg, IDC_VOLUME), szFileName, bHistory);
|