Update Android port

* src/image.c (image_create_bitmap_from_data): Fix typo in
preprocessor conditionals.
This commit is contained in:
Po Lu 2023-04-27 19:23:29 +08:00
parent 7c504d91d1
commit ab10d1f663

View file

@ -634,8 +634,10 @@ image_create_bitmap_from_data (struct frame *f, char *bits,
dpyinfo->bitmaps[id - 1].width = width;
dpyinfo->bitmaps[id - 1].refcount = 1;
#if defined HAVE_X_WINDOWS && defined HAVE_ANDROID
#if defined HAVE_X_WINDOWS || defined HAVE_ANDROID
#ifndef ANDROID_STUBIFY
dpyinfo->bitmaps[id - 1].pixmap = bitmap;
#endif /* ANDROID_STUBIFY */
dpyinfo->bitmaps[id - 1].have_mask = false;
dpyinfo->bitmaps[id - 1].depth = 1;
#ifdef USE_CAIRO