Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9b784ab8
Commit
9b784ab8
authored
Nov 15, 2001
by
Gerd Moellmann
Browse files
(direct_output_forward_char): Fix character/byte
position comparison.
parent
89512fcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/dispnew.c
src/dispnew.c
+2
-2
No files found.
src/ChangeLog
View file @
9b784ab8
2001-11-15 Gerd Moellmann <gerd@gnu.org>
* dispnew.c (direct_output_forward_char): Fix character/byte
position comparison.
2001-11-15 Miles Bader <miles@gnu.org>
* editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters.
...
...
src/dispnew.c
View file @
9b784ab8
...
...
@@ -3724,8 +3724,8 @@ direct_output_forward_char (n)
row = MATRIX_ROW (w->current_matrix, w->cursor.vpos);
/* Give up if PT is outside of the last known cursor row. */
if (PT <= MATRIX_ROW_START_
BYTE
POS (row)
|| PT >= MATRIX_ROW_END_
BYTE
POS (row))
if (PT <= MATRIX_ROW_START_
CHAR
POS (row)
|| PT >= MATRIX_ROW_END_
CHAR
POS (row))
return 0;
set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment