mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
Check version of the correct library
This commit is contained in:
parent
528fce7262
commit
0c42364b67
@ -5049,8 +5049,8 @@ static nserror gui_search_web_provider_update(const char *provider_name,
|
||||
|
||||
ULONG bm_masking_tag = TAG_IGNORE;
|
||||
|
||||
if(GfxBase->LibNode.lib_Version >= 54) { /* chooser 53.21, but check gfx.lib
|
||||
* is FE as it's easier */
|
||||
if(LIB_IS_AT_LEAST((struct Library *)ChooserBase, 53, 21)) {
|
||||
/* Broken in earlier versions */
|
||||
bm_masking_tag = BITMAP_Masking;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user