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.
This commit is contained in:
commit
25b4bfa0d1
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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++)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue