view etc/idd/dropmsk @ 4476:dbf79a1732ba

Don't try to get text width for the null font instance, mswindows 2008-07-10 Aidan Kehoe <kehoea@parhasard.net> * redisplay-msw.c (mswindows_text_width_single_run): Explicitly check for the null font instance, and return zero if so. Avoids the crash documented in http://mid.gmane.org/18473.32468.712317.149457@parhasard.net .
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 10 Jul 2008 17:05:59 +0200
parents 6075d714658b
children
line wrap: on
line source

#define drop_width 16
#define drop_height 16
#define drop_x_hot 6
#define drop_y_hot 4
static unsigned char drop_bits[] = {
   0x00, 0x00, 0xfe, 0x07, 0x02, 0x04, 0x02, 0x04, 0x42, 0x04, 0xc2, 0x04,
   0xc2, 0x05, 0xc2, 0x07, 0xc2, 0x07, 0xc2, 0x0f, 0xfe, 0x1f, 0xc0, 0x07,
   0xc0, 0x06, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x08};