diff --git a/src/cmd.c b/src/cmd.c index a8587e945..5adf60090 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -407,7 +407,7 @@ mkdir_cmd (void) const char *name = ""; /* If 'on' then automatically fills name with current selected item name */ - if (auto_fill_mkdir_name) + if (auto_fill_mkdir_name && strcmp (selection (current_panel)->fname, "..") != 0) name = selection (current_panel)->fname; dir =