mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* editcmd.c (edit_replace_cmd): Added const qualifier.
* editwidget.c (edit_my_define): likewise.
This commit is contained in:
parent
07d52482c6
commit
d5f70f2ab8
@ -1,3 +1,8 @@
|
||||
2004-09-19 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* editcmd.c (edit_replace_cmd): Added const qualifier.
|
||||
* editwidget.c (edit_my_define): likewise.
|
||||
|
||||
2004-09-17 Andrew V. Samoilov <andrew@email.zp.ua>
|
||||
|
||||
* editcmd.c (edit_replace_prompt) [HAVE_CHARSET]: Warning hack.
|
||||
|
@ -1978,7 +1978,7 @@ edit_replace_cmd (WEdit *edit, int again)
|
||||
}
|
||||
edit_scroll_screen_over_cursor (edit);
|
||||
} else {
|
||||
char *msg = _(" Replace ");
|
||||
const char *msg = _(" Replace ");
|
||||
/* try and find from right here for next search */
|
||||
edit->search_start = edit->curs1;
|
||||
edit_update_curs_col (edit);
|
||||
|
@ -220,7 +220,7 @@ edit (const char *_file, int line)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void edit_my_define (Dlg_head * h, int idx, char *text,
|
||||
static void edit_my_define (Dlg_head * h, int idx, const char *text,
|
||||
void (*fn) (WEdit *), WEdit * edit)
|
||||
{
|
||||
define_label_data (h, idx, text, (buttonbarfn) fn, edit);
|
||||
|
Loading…
Reference in New Issue
Block a user