diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-01-04 15:20:34 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-13 20:09:14 +0100 |
commit | 2b0200d4297a67916cf3b955adc474e88e327cf0 (patch) | |
tree | c94614a1659bc0f5213a15aae3add3588ec17ab1 /src/textfile_gui.cpp | |
parent | 84636fc2af4dfc77b43479909273ebadb4f9b7cb (diff) | |
download | openttd-2b0200d4297a67916cf3b955adc474e88e327cf0.tar.xz |
Codechange: OS-specific data for font search is not used outside of searching.
Diffstat (limited to 'src/textfile_gui.cpp')
-rw-r--r-- | src/textfile_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/textfile_gui.cpp b/src/textfile_gui.cpp index b83e38187..fd544f5fc 100644 --- a/src/textfile_gui.cpp +++ b/src/textfile_gui.cpp @@ -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 } |