]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/ft2_font.cpp
skins2: change_safe added by error (previous commit)
[vlc] / modules / gui / skins2 / src / ft2_font.cpp
index ab6c7345750016ff93b4b7b4958c41b457e747e6..b0ade15924f41011cb5a209446a36374cb722e5e 100644 (file)
@@ -87,11 +87,7 @@ bool FT2Font::init()
     // Allocate the buffer
     m_buffer = malloc( size );
     if( !m_buffer )
-    {
-        msg_Err( getIntf(), "not enough memory for the font %s",
-                 m_name.c_str() );
         return false;
-    }
     // Read the font data
     fread( m_buffer, size, 1, file );
     fclose( file );