mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Merge commit 'origin/256_backward_word_fix'
* commit 'origin/256_backward_word_fix': Ticket #256 (segfault in backward_word)
This commit is contained in:
commit
7e30a30e24
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user