Codechange: OS-specific data for font search is not used outside of searching.

This commit is contained in:
Michael Lutz
2021-01-04 15:20:34 +01:00
parent 84636fc2af
commit 2b0200d429
4 changed files with 2 additions and 9 deletions

View File

@@ -196,7 +196,6 @@ void TextfileWindow::SetupScrollbars()
{
#if defined(WITH_FREETYPE) || defined(_WIN32)
strecpy(settings->mono.font, font_name, lastof(settings->mono.font));
free(settings->mono.os_handle);
settings->mono.os_handle = os_data;
#endif
}