mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtfile: Fix crash when trying to open filter dialog
On 64-bit machine dtfile crashes when opening list of file types to filter in Encaps.c: _DtShowDialog (parent=0x805c80900, map_parent=0x0, top_rec=0x805ce3600, dialog_data=0x805db25e0, change_proc=0x4489f0 <FilterChange+16>, change_data=0x805ce3600, close_proc=0x4489c0 <FilterClose+16>, close_data=0x805ce3600, workspaces=0x0, iconify_state=0 '\0', ignoreCache=0 '\0', title=0x0, classHints=0x0) at Encaps.c:531 531 ResetFlag(NULL,fr->close);
This commit is contained in:
parent
cc5544354f
commit
aacfe3e5de
1 changed files with 3 additions and 1 deletions
|
@ -2878,9 +2878,11 @@ ResetFlag(
|
|||
Widget w)
|
||||
{
|
||||
Arg args[2];
|
||||
XtArgVal flag0;
|
||||
int flag;
|
||||
XtSetArg (args[0], XmNuserData, &flag);
|
||||
XtSetArg (args[0], XmNuserData, &flag0);
|
||||
XtGetValues(w,args,1);
|
||||
flag = (int)flag0;
|
||||
if(flag != FLAG_SET)
|
||||
return;
|
||||
flag = FLAG_RESET;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue