BMP_APPEND_DEFMANDIR
bmp_flags = BMP_ISPATH | BMP_APPEND_DEFMANDIR;
if (flags & (BMP_APPEND_DEFMANDIR | BMP_FALLBACK_DEFMANDIR)) {