diff --git a/stepmania/src/archutils/Win32/CrashHandlerChild.cpp b/stepmania/src/archutils/Win32/CrashHandlerChild.cpp index dfdd66500c..d2a5ab6822 100644 --- a/stepmania/src/archutils/Win32/CrashHandlerChild.cpp +++ b/stepmania/src/archutils/Win32/CrashHandlerChild.cpp @@ -372,7 +372,6 @@ RString SpliceProgramPath( RString fn ) namespace { - HFONT hFontMono = NULL; VDDebugInfo::Context g_debugInfo; RString ReportCallStack( const void * const *Backtrace ) @@ -648,26 +647,6 @@ void ChildProcess() CloseHandle( SymbolLookup::g_hParent ); SymbolLookup::g_hParent = NULL; - hFontMono = CreateFont( - 10, // nHeight - 0, // nWidth - 0, // nEscapement - 0, // nOrientation - FW_DONTCARE, // fnWeight - FALSE, // fdwItalic - FALSE, // fdwUnderline - FALSE, // fdwStrikeOut - ANSI_CHARSET, // fdwCharSet - OUT_DEFAULT_PRECIS, // fdwOutputPrecision - CLIP_DEFAULT_PRECIS, // fdwClipPrecision - DEFAULT_QUALITY, // fdwQuality - DEFAULT_PITCH | FF_DONTCARE, // fdwPitchAndFamily - "Lucida Console" - ); - - if( !hFontMono ) - hFontMono = (HFONT) GetStockObject( ANSI_FIXED_FONT ); - /* Little trick to get an HINSTANCE of ourself without having access to the hwnd ... */ { TCHAR szFullAppPath[MAX_PATH];