File src/fileops.c changed (mode: 100644) (index 376347dd7..bfd32a8a4) |
... |
... |
cpmv_files(FileView *view, char **list, int nlines, int move, int type, |
3377 |
3377 |
if(i != 0) |
if(i != 0) |
3378 |
3378 |
return i > 0; |
return i > 0; |
3379 |
3379 |
|
|
|
3380 |
|
if(pane_in_dir(other_view, path) && force) |
|
3381 |
|
{ |
|
3382 |
|
(void)show_error_msg("Operation Error", |
|
3383 |
|
"Forcing overwrite when destination and source is same directory will " |
|
3384 |
|
"lead to losing data"); |
|
3385 |
|
return 0; |
|
3386 |
|
} |
|
3387 |
|
|
3380 |
3388 |
sel_len = view->selected_files; |
sel_len = view->selected_files; |
3381 |
3389 |
sel = copy_string_array(view->selected_filelist, sel_len); |
sel = copy_string_array(view->selected_filelist, sel_len); |
3382 |
3390 |
if(!view->user_selection) |
if(!view->user_selection) |