diff options
| author | Kenichi Handa | 2003-10-03 11:36:59 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-10-03 11:36:59 +0000 |
| commit | be2fdba9dfa211aadf2bd5da9c778e1ee3eb96d0 (patch) | |
| tree | c20937d2a85b5a415e78bc6058e54348d6fe8bdf /src | |
| parent | 26a6e439a3b443cfbf9780e1aceeec563f09a105 (diff) | |
| download | emacs-be2fdba9dfa211aadf2bd5da9c778e1ee3eb96d0.tar.gz emacs-be2fdba9dfa211aadf2bd5da9c778e1ee3eb96d0.zip | |
(x_load_font): Clear all members of FONTP before start filling them.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 14 | ||||
| -rw-r--r-- | src/macterm.c | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8bd48cb74f5..db8271e3d13 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2003-10-03 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * macterm.c (x_load_font): Clear all members of FONTP before start | ||
| 4 | filling them. | ||
| 5 | |||
| 6 | 2003-10-02 Kenichi Handa <handa@m17n.org> | ||
| 7 | |||
| 8 | * fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL | ||
| 9 | before calling find_ccl_program_func. Call find_ccl_program_func | ||
| 10 | only when fontp->font_encoder is not NULL. | ||
| 11 | |||
| 12 | * xterm.c (x_load_font): Clear all members of FONTP before start | ||
| 13 | filling them. | ||
| 14 | |||
| 1 | 2003-10-03 John Paul Wallington <jpw@gnu.org> | 15 | 2003-10-03 John Paul Wallington <jpw@gnu.org> |
| 2 | 16 | ||
| 3 | * keymap.c (map_keymap): Don't abort when binding is a vector. | 17 | * keymap.c (map_keymap): Don't abort when binding is a vector. |
diff --git a/src/macterm.c b/src/macterm.c index 8c22d047939..fc9b890db18 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -6240,6 +6240,7 @@ x_load_font (f, fontname, size) | |||
| 6240 | 6240 | ||
| 6241 | /* Now fill in the slots of *FONTP. */ | 6241 | /* Now fill in the slots of *FONTP. */ |
| 6242 | BLOCK_INPUT; | 6242 | BLOCK_INPUT; |
| 6243 | bzero (fontp, sizeof (*fontp)); | ||
| 6243 | fontp->font = font; | 6244 | fontp->font = font; |
| 6244 | fontp->font_idx = i; | 6245 | fontp->font_idx = i; |
| 6245 | fontp->name = (char *) xmalloc (strlen (font->fontname) + 1); | 6246 | fontp->name = (char *) xmalloc (strlen (font->fontname) + 1); |