bug fixed in last_line() : assert(l!=0) should be assert(lines!=0).
This commit is contained in:
parent
e95492dfb0
commit
f487f26e00
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ line_p last_line(lines)
|
|||
|
||||
register line_p l;
|
||||
|
||||
assert (l != (line_p) 0);
|
||||
assert (lines != (line_p) 0);
|
||||
for (l = lines; l->l_next != (line_p) 0; l = l->l_next);
|
||||
return l;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue