From 9da490af05b2aac772f0bdbb934dd313c1271749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 13 Sep 2014 22:35:26 +0200 Subject: Rename text_insert_raw to text_insert --- editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor.c') diff --git a/editor.c b/editor.c index 7ca69f1..9d520d8 100644 --- a/editor.c +++ b/editor.c @@ -412,7 +412,7 @@ void editor_delete_key(Editor *ed) { } void editor_insert(Editor *ed, size_t pos, const char *c, size_t len) { - text_insert_raw(ed->win->text, pos, c, len); + text_insert(ed->win->text, pos, c, len); editor_windows_invalidate(ed, pos, pos + len); } @@ -512,7 +512,7 @@ void editor_prompt_hide(Editor *ed) { void editor_prompt_set(Editor *ed, const char *line) { Text *text = ed->prompt->win->text; editor_prompt_clear(ed->prompt); - text_insert_raw(text, 0, line, strlen(line)); + text_insert(text, 0, line, strlen(line)); editor_window_draw(ed->prompt->win); } -- cgit v1.2.3