Fixed problem of double clicking on a profile from the selection dialog caused winEmbed to quit.

git-svn-id: svn://10.0.0.236/trunk@90244 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
locka%iol.ie 2001-03-23 11:49:46 +00:00
parent 92db598eb6
commit 2105558e49

View File

@ -1003,7 +1003,7 @@ LRESULT CALLBACK ChooseProfileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LP
nsAutoString newProfile; newProfile.AssignWithConversion(profileName);
rv = profileService->SetCurrentProfile(newProfile.GetUnicode());
}
EndDialog(hDlg, LOWORD(wParam));
EndDialog(hDlg, IDOK);
}
else if (LOWORD(wParam) == IDCANCEL)
{