summaryrefslogtreecommitdiff
path: root/src/os/windows/font_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/windows/font_win32.h')
-rw-r--r--src/os/windows/font_win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/windows/font_win32.h b/src/os/windows/font_win32.h
index 9a552125f..ba413fae5 100644
--- a/src/os/windows/font_win32.h
+++ b/src/os/windows/font_win32.h
@@ -33,7 +33,7 @@ public:
~Win32FontCache();
void ClearFontCache() override;
GlyphID MapCharToGlyph(WChar key) override;
- const char *GetFontName() override { return WIDE_TO_MB(this->logfont.lfFaceName); }
+ const char *GetFontName() override { return FS2OTTD(this->logfont.lfFaceName); }
const void *GetOSHandle() override { return &this->logfont; }
};