diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-13 22:35:26 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-13 22:35:26 +0200 |
| commit | 9da490af05b2aac772f0bdbb934dd313c1271749 (patch) | |
| tree | c21aa06e029e6d725baed9283e44990d22e38d72 /editor.c | |
| parent | c17ca10e11db30f4b4924b69dbf3b1693025d4dc (diff) | |
| download | vis-9da490af05b2aac772f0bdbb934dd313c1271749.tar.gz vis-9da490af05b2aac772f0bdbb934dd313c1271749.tar.xz | |
Rename text_insert_raw to text_insert
Diffstat (limited to 'editor.c')
| -rw-r--r-- | editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |
