BottomLimit
for (line = bottom; line > limit && BottomLimit(line); line--) {
for (line = bottom; line >= limit && BottomLimit(line); line--) {