OSDN Git Service

OptionsFont.cpp: Fix the problem that the messase "assertion failed" is displayed...
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 30 Jan 2018 13:58:49 +0000 (22:58 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 30 Jan 2018 13:58:49 +0000 (22:58 +0900)
Src/OptionsFont.cpp

index a07968b..d34f3e1 100644 (file)
@@ -80,7 +80,7 @@ void SetDefaults(COptionsMgr *pOptionsMgr)
        }
        else
        {       
-               assert(false);  // this should never fail (???)
+               // in the case of Windows XP
                InitializeLogFont(fontDir, -::MulDiv(pointsDir, logPixelsY, 72), DEFAULT_CHARSET, FF_DONTCARE, L"Segoe UI");
        }