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
5db0afb7
Commit
5db0afb7
authored
Jun 02, 1997
by
Richard M. Stallman
Browse files
(compute_motion): Use XFASTINT on width_table elts.
parent
09ee221d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/indent.c
src/indent.c
+2
-2
No files found.
src/indent.c
View file @
5db0afb7
...
...
@@ -1231,7 +1231,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
/* Is this character part of the current run? If so, extend
the run. */
if
(
pos
-
1
==
width_run_end
&&
width_table
[
c
]
==
width_run_width
)
&&
XFASTINT
(
width_table
[
c
]
)
==
width_run_width
)
width_run_end
=
pos
;
/* The previous run is over, since this is a character at a
...
...
@@ -1247,7 +1247,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
width_run_start
,
width_run_end
);
/* Start recording a new width run. */
width_run_width
=
width_table
[
c
];
width_run_width
=
XFASTINT
(
width_table
[
c
]
)
;
width_run_start
=
pos
-
1
;
width_run_end
=
pos
;
}
...
...
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