diff --git a/src/widget.c b/src/widget.c index 16f4ec875..455cd8e9e 100644 --- a/src/widget.c +++ b/src/widget.c @@ -1490,7 +1490,7 @@ backward_word (WInput *in) for ( p = in->buffer + str_offset_to_pos (in->buffer, in->point); (p != in->buffer) && (p[0] == '\0'); - p-- , in->point-- + str_cprev_char (&p), in->point-- ); while (p != in->buffer) {