From 85c2c36a97ac2a9d4ed37a718513df5ba671906c Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 14 Aug 2020 04:52:45 -0400 Subject: [PATCH] cell_load_direct(): relax strncmp to strcmp --- src/lib/notcurses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index c1ee973bf..aa1062768 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -1377,7 +1377,7 @@ cell_load_direct(ncplane* n, cell* c, const char* gcluster, int bytes, int cols) return bytes; } // FIXME also shaded blocks! ░ etc. are there combined EGCs involving these? - if(strncmp(gcluster, "\xe2\x96\x88", 3)){ + if(strcmp(gcluster, "\xe2\x96\x88")){ c->channels &= ~CELL_NOBACKGROUND_MASK; if(cols < 2){ c->channels &= ~CELL_WIDEASIAN_MASK;