mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtfile/FileDialog: CID 175220
This commit is contained in:
parent
1321d4c299
commit
07fe841363
1 changed files with 9 additions and 1 deletions
|
@ -1953,7 +1953,7 @@ ShowMakeFileDialog(
|
|||
|
||||
DialogCallbackStruct * call_struct;
|
||||
char * tmpStr = NULL, *tempStr = NULL;
|
||||
XmString label_string;
|
||||
XmString label_string = NULL;
|
||||
|
||||
Arg args[20];
|
||||
int n;
|
||||
|
@ -2044,6 +2044,14 @@ ShowMakeFileDialog(
|
|||
}
|
||||
XtFree(tempStr);
|
||||
|
||||
if (!shell)
|
||||
{
|
||||
/* shouldn't happen, but... */
|
||||
if (label_string)
|
||||
XmStringFree(label_string);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Set the useAsyncGeo on the shell */
|
||||
XtSetArg (args[0], XmNuseAsyncGeometry, True);
|
||||
XtSetValues (XtParent(shell), args, 1);
|
||||
|
|
Loading…
Reference in a new issue