dtfile: Fix crash when trying to open filter dialog
authorMarcin Cieslak <saper@saper.info>
Tue, 2 Oct 2012 16:03:41 +0000 (18:03 +0200)
committerJon Trulson <jon@radscan.com>
Wed, 3 Oct 2012 00:57:12 +0000 (18:57 -0600)
commitaacfe3e5deb590affef07eb6dd0830a1130c20c2
tree243801d8bfc845e05ee6ef3fe44bbcccc02a75f0
parentcc5544354f53d330883080034243354c2178ba05
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);
cde/programs/dtfile/FileDialog.c