ncplane_vprintf_prep(): remove dumb comment #612

This commit is contained in:
nick black 2020-05-18 14:57:20 -04:00
parent 5537692bd1
commit 321908d824
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -1477,8 +1477,6 @@ unsigned ncplane_styles(const ncplane* n){
return (n->attrword & NCSTYLE_MASK);
}
// i hate the big allocation and two copies here, but eh what you gonna do?
// well, for one, we don't need the huge allocation FIXME
static char*
ncplane_vprintf_prep(ncplane* n, const char* format, va_list ap){
const size_t size = n->lenx + 1; // healthy estimate, can embiggen below