mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 23:28:58 +00:00
small bugfix
svn path=/trunk/; revision=6714
This commit is contained in:
parent
7c0860d405
commit
1c86d55f2c
|
@ -57,6 +57,8 @@ DlgMainProc(
|
|||
{
|
||||
GetCurrentDirectory(MAX_PATH, selected);
|
||||
len = strlen(selected);
|
||||
if(strlen(file))
|
||||
{
|
||||
if(selected[len - 1] != '\\')
|
||||
{
|
||||
lstrcat(selected, "\\");
|
||||
|
@ -64,6 +66,7 @@ DlgMainProc(
|
|||
lstrcat(selected, file);
|
||||
EndDialog(hwndDlg, IDC_OK);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case IDC_CANCEL:
|
||||
|
|
Loading…
Reference in a new issue