mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
tighten_reel: don't call trim_reel_overhang() with NULL
This commit is contained in:
parent
82fe736d15
commit
5b432c6d94
@ -566,6 +566,9 @@ tighten_reel(ncreel* r){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(!top || !bottom){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return trim_reel_overhang(r, top, bottom);
|
return trim_reel_overhang(r, top, bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user