diff options
-rw-r--r-- | win32/PlatWin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 31d8ed39a..a177f1def 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -236,9 +236,8 @@ Font::~Font() { #define FONTS_CACHED void Font::Create(const char *faceName, int characterSet, int size, bool bold, bool italic) { -#ifndef FONTS_CACHED Release(); - +#ifndef FONTS_CACHED LOGFONT lf; SetLogFont(lf, faceName, characterSet, size, bold, italic); id = ::CreateFontIndirect(&lf); |