1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00

Remove Bitmap_Pad global. (#318)

Since this is just being used for a 0 value, just use `0`.
This commit is contained in:
Bruce Mitchener 2021-01-29 13:52:51 +07:00 committed by GitHub
parent fd62c9ab3a
commit 805cb86a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -51,8 +51,6 @@ extern DLword *DisplayRegion68k;
bool Lisp_Xinitialized = false;
int xsync = False;
int Bitmap_Pad;
int LispWindowRequestedX = 0;
int LispWindowRequestedY = 0;
unsigned LispWindowRequestedWidth = DEF_WIN_WIDTH;

View File

@ -26,7 +26,7 @@
XImage IconImage;
extern int Bitmap_Pad, Lisp_icon_width, Lisp_icon_height;
extern int Lisp_icon_width, Lisp_icon_height;
extern uint8_t Lisp_icon[];
static Pixmap IconPixmap;
@ -62,7 +62,7 @@ Pixmap make_Xicon(DspInterface dsp)
IconImage.byte_order = MSBFirst;
#endif /* BYTESWAP */
IconImage.bitmap_unit = 8;
IconImage.bitmap_pad = Bitmap_Pad; /* TODO: Bitmap_Pad is never initialized. */
IconImage.bitmap_pad = 0;
IconImage.depth = 1;
IconImage.bytes_per_line = Lisp_icon_width / 8;
#if defined(X_ICON_IN_X_BITMAP_FORMAT)