projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43a5b19
)
dtfile/Menu: CID 89222
author
Jon Trulson
<jon@radscan.com>
Wed, 11 Apr 2018 22:01:55 +0000
(16:01 -0600)
committer
Jon Trulson
<jon@radscan.com>
Wed, 11 Apr 2018 22:25:52 +0000
(16:25 -0600)
cde/programs/dtfile/Menu.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtfile/Menu.c
b/cde/programs/dtfile/Menu.c
index 574a861180fa0cc77541630be3ba315702c213ef..a9f317959d5f58ffba000ace91dc63ed015a5f4d 100644
(file)
--- a/
cde/programs/dtfile/Menu.c
+++ b/
cde/programs/dtfile/Menu.c
@@
-1333,7
+1333,7
@@
SetMenuSensitivity(
FileMgrRec * file_mgr_rec;
XmMenuShellWidget mshell = (XmMenuShellWidget) w;
DialogData * dialog_data;
- FileMgrData * file_mgr_data;
+ FileMgrData * file_mgr_data
= NULL
;
_XmGetActiveTopLevelMenu(mshell->composite.children[0], &mbar);
XtSetArg(args[0], XmNuserData, &file_mgr_rec);
@@
-1519,6
+1519,9
@@
SetMenuSensitivity(
}
}
+ if (!file_mgr_data)
+ return;
+
if(showFilesystem )
{
if (file_mgr_data->show_hid_enabled)