From 321908d824cf3f974ad2a951939e7da9cb229fff Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 18 May 2020 14:57:20 -0400 Subject: [PATCH] ncplane_vprintf_prep(): remove dumb comment #612 --- src/lib/notcurses.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index 710f580bb..62ab7957d 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -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