bsd compatibility mods
[goodguy/history.git] / cinelerra-5.1 / guicast / bcresources.C
index 8ed4e6f4e9398bc9164a9b10c383484254511ee0..e340060099810ba20429b593bceaca7ab9bd80e7 100644 (file)
@@ -1376,7 +1376,7 @@ int BC_Resources::init_fontconfig(const char *search_path)
                entry->registry = cstrdup("utf");
                entry->encoding = cstrdup("8");
 
-               if(!FcPatternGetString(font, FC_STYLE, 0, &style) == FcResultMatch)
+               if( FcPatternGetString(font, FC_STYLE, 0, &style) != FcResultMatch )
                        force_style = 0;
 
                // If font has a style unmanaged by titler plugin, force style to be displayed on name