1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
* file.c (panel_operate_generate_prompt): Removed the cmd_buf argument, since it is a global variable anyway (this function is only called once from file.c, and the global cmd_buf was being passed in). (panel_operate): Do not pass cmd_buf to panel_operate_generate_prompt(). Thanks to Alexander Savelyev <fano@vcom.kiev.ua> for noticing this.
Этот коммит содержится в:
родитель
4a6072f0b1
Коммит
fbb8c67838
@ -1,3 +1,13 @@
|
|||||||
|
1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* file.c (panel_operate_generate_prompt): Removed the cmd_buf
|
||||||
|
argument, since it is a global variable anyway (this function is
|
||||||
|
only called once from file.c, and the global cmd_buf was being
|
||||||
|
passed in).
|
||||||
|
(panel_operate): Do not pass cmd_buf to
|
||||||
|
panel_operate_generate_prompt().
|
||||||
|
Thanks to Alexander Savelyev <fano@vcom.kiev.ua> for noticing this.
|
||||||
|
|
||||||
1999-01-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
1999-01-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* achown.c (XTRACT): Add missing call to _().
|
* achown.c (XTRACT): Add missing call to _().
|
||||||
|
@ -1622,7 +1622,7 @@ static char* prompt_parts [] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
panel_operate_generate_prompt (char* cmd_buf, WPanel* panel, int operation, int only_one,
|
panel_operate_generate_prompt (WPanel* panel, int operation, int only_one,
|
||||||
struct stat* src_stat)
|
struct stat* src_stat)
|
||||||
{
|
{
|
||||||
register char *sp, *cp;
|
register char *sp, *cp;
|
||||||
@ -1777,7 +1777,7 @@ panel_operate (void *source_panel, FileOperation operation, char *thedefault, in
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Generate confirmation prompt */
|
/* Generate confirmation prompt */
|
||||||
source = panel_operate_generate_prompt (cmd_buf, panel, operation, only_one, &src_stat);
|
source = panel_operate_generate_prompt (panel, operation, only_one, &src_stat);
|
||||||
|
|
||||||
/* Show confirmation dialog */
|
/* Show confirmation dialog */
|
||||||
if (operation == OP_DELETE && confirm_delete){
|
if (operation == OP_DELETE && confirm_delete){
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user