diff options
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 126d954a3a4..9cd945ae63b 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10362,8 +10362,8 @@ x_query_font (f, fontname) | |||
| 10362 | 10362 | ||
| 10363 | for (i = 0; i < dpyinfo->n_fonts; i++) | 10363 | for (i = 0; i < dpyinfo->n_fonts; i++) |
| 10364 | if (dpyinfo->font_table[i].name | 10364 | if (dpyinfo->font_table[i].name |
| 10365 | && (!strcmp (dpyinfo->font_table[i].name, fontname) | 10365 | && (!strcasecmp (dpyinfo->font_table[i].name, fontname) |
| 10366 | || !strcmp (dpyinfo->font_table[i].full_name, fontname))) | 10366 | || !strcasecmp (dpyinfo->font_table[i].full_name, fontname))) |
| 10367 | return (dpyinfo->font_table + i); | 10367 | return (dpyinfo->font_table + i); |
| 10368 | return NULL; | 10368 | return NULL; |
| 10369 | } | 10369 | } |
| @@ -11044,6 +11044,11 @@ x_term_init (display_name, xrm_option, resource_name) | |||
| 11044 | 11044 | ||
| 11045 | dpyinfo->cut_buffers_initialized = 0; | 11045 | dpyinfo->cut_buffers_initialized = 0; |
| 11046 | 11046 | ||
| 11047 | dpyinfo->x_dnd_atoms_size = 8; | ||
| 11048 | dpyinfo->x_dnd_atoms_length = 0; | ||
| 11049 | dpyinfo->x_dnd_atoms = xmalloc (sizeof (*dpyinfo->x_dnd_atoms) | ||
| 11050 | * dpyinfo->x_dnd_atoms_size); | ||
| 11051 | |||
| 11047 | connection = ConnectionNumber (dpyinfo->display); | 11052 | connection = ConnectionNumber (dpyinfo->display); |
| 11048 | dpyinfo->connection = connection; | 11053 | dpyinfo->connection = connection; |
| 11049 | 11054 | ||