Kill 2 more warnings -miguel
Этот коммит содержится в:
родитель
cb800625fc
Коммит
141653c3b8
@ -1,5 +1,8 @@
|
|||||||
1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
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
|
* cmd.c (edit_symlink_cmd): Small fix to improve the messages
|
||||||
printed.
|
printed.
|
||||||
|
|
||||||
|
@ -1890,10 +1890,11 @@ panel_operate (void *source_panel, FileOperation operation, char *thedefault, in
|
|||||||
|
|
||||||
/* Now, let's do the job */
|
/* 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 */
|
/* This code is only called by the tree and panel code */
|
||||||
if (only_one){
|
if (only_one){
|
||||||
/* We now have ETA in all cases */
|
/* 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 */
|
/* One file: FIXME mc_chdir will take user out of any vfs */
|
||||||
if (operation != OP_COPY && get_current_type () == view_tree)
|
if (operation != OP_COPY && get_current_type () == view_tree)
|
||||||
@ -1993,9 +1994,6 @@ panel_operate (void *source_panel, FileOperation operation, char *thedefault, in
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#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 */
|
/* Loop for every file, perform the actual copy operation */
|
||||||
for (i = 0; i < panel->count; i++) {
|
for (i = 0; i < panel->count; i++) {
|
||||||
if (!panel->dir.list [i].f.marked)
|
if (!panel->dir.list [i].f.marked)
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user