Check version of the correct library

This commit is contained in:
Chris Young 2015-08-17 17:52:09 +01:00
parent 528fce7262
commit 0c42364b67

View File

@ -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;
}