Commit 25b4bfa0 authored by Paul Eggert's avatar Paul Eggert
Browse files

Fix minor problems found by static checking.

* xdisp.c (string_from_display_spec): Don't assume vecsize fits in int.
* indent.c (Fvertical_motion): Fix == vs = typo.
parents 6bf7006f 9f985e85
2011-09-24 Paul Eggert <eggert@cs.ucla.edu>
Fix minor problems found by static checking.
* xdisp.c (string_from_display_spec): Don't assume vecsize fits in int.
* indent.c (Fvertical_motion): Fix == vs = typo.
2011-09-24 Eli Zaretskii <eliz@gnu.org>
* dispnew.c (syms_of_display) <redisplay-dont-pause>: Default
......
......@@ -2041,7 +2041,7 @@ whether or not it is currently displayed in some window. */)
it_overshoot_count++;
}
if (!it_overshoot_count)
it_overshoot_count == -1;
it_overshoot_count = -1;
}
else
it_overshoot_count =
......
......@@ -1226,7 +1226,7 @@ string_from_display_spec (Lisp_Object spec)
}
else if (VECTORP (spec))
{
int i;
ptrdiff_t i;
for (i = 0; i < ASIZE (spec); i++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment