зеркало из https://github.com/mozilla/gecko-dev.git
[OS/2] Bug 358296: fix crash when closing filepicker with the system menu, r=mkaply
This commit is contained in:
Родитель
f915754ac6
Коммит
b9522fa7ee
|
@ -162,7 +162,8 @@ NS_IMETHODIMP nsFilePicker::Show(PRInt16 *retval)
|
|||
WinFileDlg(HWND_DESKTOP, mWnd, &filedlg);
|
||||
DosError(FERR_ENABLEHARDERR);
|
||||
char* tempptr = strstr(filedlg.szFullFile, "^");
|
||||
*tempptr = '\0';
|
||||
if (tempptr)
|
||||
*tempptr = '\0';
|
||||
if (filedlg.lReturn == DID_OK) {
|
||||
result = PR_TRUE;
|
||||
if (!mDisplayDirectory)
|
||||
|
|
Загрузка…
Ссылка в новой задаче