diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-13 22:25:06 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-13 22:29:36 +0200 |
| commit | c17ca10e11db30f4b4924b69dbf3b1693025d4dc (patch) | |
| tree | db8f9ed1b95d895e111f68181ab8433b6349639b /editor.c | |
| parent | c94579526c082e75b9ee8ec2fc189540884ac039 (diff) | |
| download | vis-c17ca10e11db30f4b4924b69dbf3b1693025d4dc.tar.gz vis-c17ca10e11db30f4b4924b69dbf3b1693025d4dc.tar.xz | |
Introduce and use EPOS instead of (size_t)-1
Diffstat (limited to 'editor.c')
| -rw-r--r-- | editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -493,7 +493,7 @@ static void editor_prompt_update(Prompt *prompt) { static void editor_prompt_clear(Prompt *prompt) { Text *text = prompt->win->text; - while (text_undo(text) != (size_t)-1); + while (text_undo(text) != EPOS); window_cursor_to(prompt->win->win, 0); } |
