bug fixed in last_line() : assert(l!=0) should be assert(lines!=0).
This commit is contained in:
parent
c64b43ae7e
commit
fa3e83fbd8
@ -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…
x
Reference in New Issue
Block a user