non Linux compile fix

This commit is contained in:
Markus Gans 2018-06-12 17:03:29 +02:00
parent 555e93e058
commit 61c5fa01cb
1 changed files with 2 additions and 0 deletions

View File

@ -64,11 +64,13 @@ FTermLinux::FTermLinux()
//---------------------------------------------------------------------- //----------------------------------------------------------------------
FTermLinux::~FTermLinux() // destructor FTermLinux::~FTermLinux() // destructor
{ {
#if defined(__linux__)
if ( screen_font.data ) if ( screen_font.data )
delete[] screen_font.data; delete[] screen_font.data;
if ( screen_unicode_map.entries ) if ( screen_unicode_map.entries )
delete[] screen_unicode_map.entries; delete[] screen_unicode_map.entries;
#endif
} }
// public methods of FTermLinux // public methods of FTermLinux