tighten_reel: don't call trim_reel_overhang() with NULL

This commit is contained in:
nick black 2020-08-10 00:16:32 -04:00
parent 82fe736d15
commit 5b432c6d94
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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);
} }