Fix wchar_t format string types

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2012-02-17 20:17:58 -05:00
parent af649a035c
commit 32ff4af359
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ void Display::put_cell( bool initialized, FrameState &frame, const Framebuffer &
/* cells that begin with combining character get combiner attached to no-break space */
if ( cell->fallback ) {
snprintf( tmp, 64, "%lc", 0xA0 );
snprintf( tmp, 64, "%lc", L'\xA0' );
frame.append( tmp );
}