hFontMono is unused
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user