Bring some sanity to renditions (rationalize list on append)

This commit is contained in:
Keith Winstein
2011-02-05 05:23:57 -05:00
parent 80f469bdc6
commit ca17e769b7
6 changed files with 41 additions and 12 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ void Emulator::debug_printout( int fd )
/* print renditions */
screen.append( "\033[0" );
char rendition[ 32 ];
for ( std::vector<int>::iterator i = cell->renditions.begin();
for ( std::list<int>::iterator i = cell->renditions.begin();
i != cell->renditions.end();
i++ ) {
snprintf( rendition, 32, ";%d", *i );