mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
small bugfix
svn path=/trunk/; revision=6714
This commit is contained in:
@@ -57,12 +57,15 @@ DlgMainProc(
|
||||
{
|
||||
GetCurrentDirectory(MAX_PATH, selected);
|
||||
len = strlen(selected);
|
||||
if(selected[len - 1] != '\\')
|
||||
if(strlen(file))
|
||||
{
|
||||
lstrcat(selected, "\\");
|
||||
if(selected[len - 1] != '\\')
|
||||
{
|
||||
lstrcat(selected, "\\");
|
||||
}
|
||||
lstrcat(selected, file);
|
||||
EndDialog(hwndDlg, IDC_OK);
|
||||
}
|
||||
lstrcat(selected, file);
|
||||
EndDialog(hwndDlg, IDC_OK);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user