mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-25 05:46:51 +03:00
Kill 2 more warnings -miguel
This commit is contained in:
parent
cb800625fc
commit
141653c3b8
@ -1,5 +1,8 @@
|
||||
1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* file.c (panel_operate): Always create the ctx->ui. Federico,
|
||||
can you see if this change is correct from your point of view?
|
||||
|
||||
* cmd.c (edit_symlink_cmd): Small fix to improve the messages
|
||||
printed.
|
||||
|
||||
|
@ -1890,10 +1890,11 @@ panel_operate (void *source_panel, FileOperation operation, char *thedefault, in
|
||||
|
||||
/* Now, let's do the job */
|
||||
|
||||
file_op_context_create_ui (ctx, operation, 1);
|
||||
|
||||
/* This code is only called by the tree and panel code */
|
||||
if (only_one){
|
||||
/* We now have ETA in all cases */
|
||||
file_op_context_create_ui (ctx, operation, 1);
|
||||
|
||||
/* One file: FIXME mc_chdir will take user out of any vfs */
|
||||
if (operation != OP_COPY && get_current_type () == view_tree)
|
||||
@ -1993,9 +1994,6 @@ panel_operate (void *source_panel, FileOperation operation, char *thedefault, in
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/* We now have ETA in all cases */
|
||||
file_op_context_create_ui (ctx, operation, 1);
|
||||
|
||||
/* Loop for every file, perform the actual copy operation */
|
||||
for (i = 0; i < panel->count; i++) {
|
||||
if (!panel->dir.list [i].f.marked)
|
||||
|
Loading…
Reference in New Issue
Block a user