From 61c5fa01cba0ba5481529e08a0bfa6858c7ef33a Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Tue, 12 Jun 2018 17:03:29 +0200 Subject: [PATCH] non Linux compile fix --- src/ftermlinux.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ftermlinux.cpp b/src/ftermlinux.cpp index a15595bc..2787a822 100644 --- a/src/ftermlinux.cpp +++ b/src/ftermlinux.cpp @@ -64,11 +64,13 @@ FTermLinux::FTermLinux() //---------------------------------------------------------------------- FTermLinux::~FTermLinux() // destructor { +#if defined(__linux__) if ( screen_font.data ) delete[] screen_font.data; if ( screen_unicode_map.entries ) delete[] screen_unicode_map.entries; +#endif } // public methods of FTermLinux