mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-08-15 02:27:45 +00:00
[PVS-Studio] Fix redundant var init in GetConsoleLineHeightPixels() Bug #301
This commit is contained in:
@@ -1223,7 +1223,7 @@ void DrawBreakpoints ( int line )
|
|||||||
//===========================================================================
|
//===========================================================================
|
||||||
int GetConsoleLineHeightPixels()
|
int GetConsoleLineHeightPixels()
|
||||||
{
|
{
|
||||||
int nHeight = nHeight = g_aFontConfig[ FONT_CONSOLE ]._nFontHeight; // _nLineHeight; // _nFontHeight;
|
int nHeight = g_aFontConfig[ FONT_CONSOLE ]._nFontHeight; // _nLineHeight; // _nFontHeight;
|
||||||
/*
|
/*
|
||||||
if (g_iFontSpacing == FONT_SPACING_CLASSIC)
|
if (g_iFontSpacing == FONT_SPACING_CLASSIC)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user