From: Jon Trulson Date: Wed, 11 Apr 2018 21:41:51 +0000 (-0600) Subject: dtfile/Command: CID 88819 X-Git-Tag: 2.2.4a~98 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca7c8308e1a7501a9cb550694b99def0c70a9e3f;p=oweals%2Fcde.git dtfile/Command: CID 88819 --- diff --git a/cde/programs/dtfile/Command.c b/cde/programs/dtfile/Command.c index dba61dc3..cde4cf3d 100644 --- a/cde/programs/dtfile/Command.c +++ b/cde/programs/dtfile/Command.c @@ -1003,7 +1003,7 @@ ProcessBufferDropOnFolder ( { DirectorySet * directory_data; char * directory_name; - FileViewData * file_view_data; + FileViewData * file_view_data = NULL; int j; DeselectAllFiles (file_mgr_data); @@ -1024,7 +1024,8 @@ ProcessBufferDropOnFolder ( } } } - PositionFileView(file_view_data, file_mgr_data); + if (file_view_data) + PositionFileView(file_view_data, file_mgr_data); } } /* endif for Tree View */