From 1a343a1a478b86fdaeb8ee0b4e7a6f47757ca538 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Thu, 30 Jun 2011 21:51:38 +0400 Subject: [PATCH] Type accuracy and some clean up. Signed-off-by: Andrew Borodin --- lib/widget/input.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/widget/input.c b/lib/widget/input.c index d25e3ed6d..96007cb10 100644 --- a/lib/widget/input.c +++ b/lib/widget/input.c @@ -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)