mirror of https://github.com/MidnightCommander/mc
Type accuracy and some clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
166281c39a
commit
1a343a1a47
|
@ -535,7 +535,7 @@ kill_line (WInput * in)
|
|||
static void
|
||||
clear_line (WInput * in)
|
||||
{
|
||||
in->need_push = 1;
|
||||
in->need_push = TRUE;
|
||||
in->buffer[0] = '\0';
|
||||
in->point = 0;
|
||||
in->mark = 0;
|
||||
|
@ -543,6 +543,8 @@ clear_line (WInput * in)
|
|||
in->charpoint = 0;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
static void
|
||||
ins_from_clip (WInput * in)
|
||||
{
|
||||
|
@ -552,7 +554,6 @@ ins_from_clip (WInput * in)
|
|||
/* try use external clipboard utility */
|
||||
mc_event_raise (MCEVENT_GROUP_CORE, "clipboard_file_from_ext_clip", NULL);
|
||||
|
||||
|
||||
event_data.text = &p;
|
||||
mc_event_raise (MCEVENT_GROUP_CORE, "clipboard_text_from_file", &event_data);
|
||||
if (event_data.ret)
|
||||
|
|
Loading…
Reference in New Issue