Model renditions explicitly -- 25% speedup

This commit is contained in:
Keith Winstein
2011-02-05 18:09:19 -05:00
parent 2f964f80f4
commit e0065bfe5c
7 changed files with 92 additions and 90 deletions
+1 -5
View File
@@ -322,11 +322,7 @@ void CSI_SGR( Framebuffer *fb, Dispatcher *dispatch )
bce = true;
}
if ( rendition == 0 ) {
fb->ds.clear_renditions();
} else {
fb->ds.add_rendition( rendition );
}
fb->ds.add_rendition( rendition );
}
}