projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Checklist update following the 0.62 release. I managed to send out the
[u/mdw/putty]
/
unix
/
gtkfont.c
diff --git
a/unix/gtkfont.c
b/unix/gtkfont.c
index
ebdc4bc
..
5db582a
100644
(file)
--- a/
unix/gtkfont.c
+++ b/
unix/gtkfont.c
@@
-280,6
+280,9
@@
static int x11_font_has_glyph(XFontStruct *xfs, int byte1, int byte2)
(xfs->max_char_or_byte2 - xfs->min_char_or_byte2 + 1)));
}
(xfs->max_char_or_byte2 - xfs->min_char_or_byte2 + 1)));
}
+ if (!xfs->per_char) /* per_char NULL => everything in range exists */
+ return TRUE;
+
return (xfs->per_char[index].ascent + xfs->per_char[index].descent > 0 ||
xfs->per_char[index].width > 0);
}
return (xfs->per_char[index].ascent + xfs->per_char[index].descent > 0 ||
xfs->per_char[index].width > 0);
}
@@
-1564,6
+1567,7
@@
unifont *multifont_create(GtkWidget *widget, const char *name,
if (!font)
return NULL;
if (!font)
return NULL;
+ fallback = NULL;
if (font->want_fallback) {
for (i = 0; i < lenof(unifont_types); i++) {
if (unifont_types[i]->create_fallback) {
if (font->want_fallback) {
for (i = 0; i < lenof(unifont_types); i++) {
if (unifont_types[i]->create_fallback) {