cell_load_direct(): relax strncmp to strcmp

This commit is contained in:
nick black 2020-08-14 04:52:45 -04:00 committed by Nick Black
parent a8b4c01210
commit 85c2c36a97

View File

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