remove ultrix support
[oweals/cde.git] / cde / programs / dtfile / Command.c
index dba61dc39945d2d48f2ca253493c0766eabd1f39..2c25cc35e01187de3bae3e83b7da0de6f1b97b78 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -122,8 +122,8 @@ UpdateActionMenuPane(
    FileViewData *file_view_data;
    DesktopRec *desktopWindow;
    Widget child;
-   register int i, menu_offset;
-   register int action_count;
+   int i, menu_offset;
+   int action_count;
    int count, del_count;
    int num_children;
    char ** command_list;
@@ -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 */