From 0d8dceea4310fde5706b3ce1c70609d72a38efdf Mon Sep 17 00:00:00 2001 From: John Schoenick Date: Wed, 9 Sep 2015 18:35:41 -0700 Subject: Updated the SDK with the latest code from the TF and HL2 branches. --- mp/src/game/client/vgui_schemevisualizer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mp/src/game/client/vgui_schemevisualizer.cpp') diff --git a/mp/src/game/client/vgui_schemevisualizer.cpp b/mp/src/game/client/vgui_schemevisualizer.cpp index b2a6f774..afde874d 100644 --- a/mp/src/game/client/vgui_schemevisualizer.cpp +++ b/mp/src/game/client/vgui_schemevisualizer.cpp @@ -178,11 +178,13 @@ void CSchemeVisualizer::AddFontsToList() { #ifdef POSIX const char strOAccent[] = { (char)0xc3, (char)0x93, 0x00 }; // UTF-8 for U+00D3 (LATIN CAPITAL LETTER O WITH ACUTE) + const char strSkull[] = { (char)0xe2, (char)0x98, (char)0xa0, 0x00 }; #else const uint8 strOAccent[] = { 0xd3, 0x00 }; + const char strSkull[] = ""; #endif // Stick an intl character in here to test accents (O') - CFmtStr fmtText( "ABCDEFGHIJKLMN%sPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz0123456789!@#$%%^&*()-_=+", strOAccent ); + CFmtStr fmtText( "ABCDEFGHIJKLMN%sPQRSTUVWXYZ%sabcdefhijklmnopqrstuvwxyz0123456789!@#$%%^&*()-_=+", strOAccent, strSkull ); const int nFontCount = m_pViewScheme->GetFontCount(); @@ -288,4 +290,4 @@ void CSchemeVisualizer::OnTick() // Update the list now UpdateList( nType ); -} \ No newline at end of file +} -- cgit v1.2.3