Eliminate unnecessary snprintf()
This commit is contained in:
@@ -269,8 +269,7 @@ void Display::put_cell( bool initialized, FrameState &frame, const Framebuffer &
|
|||||||
|
|
||||||
/* cells that begin with combining character get combiner attached to no-break space */
|
/* cells that begin with combining character get combiner attached to no-break space */
|
||||||
if ( cell->fallback ) {
|
if ( cell->fallback ) {
|
||||||
snprintf( tmp, 64, "%lc", L'\xA0' );
|
frame.append( "\xC2\xA0" );
|
||||||
frame.append( tmp );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( std::vector<wchar_t>::const_iterator i = cell->contents.begin();
|
for ( std::vector<wchar_t>::const_iterator i = cell->contents.begin();
|
||||||
|
|||||||
Reference in New Issue
Block a user