diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xfont.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index aa8ab0341cc..69928b79ff5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-08-06 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * xfont.c (xfont_list_family): Return a list of symbols, not | ||
| 4 | strings. | ||
| 5 | |||
| 1 | 2008-08-06 Andreas Schwab <schwab@suse.de> | 6 | 2008-08-06 Andreas Schwab <schwab@suse.de> |
| 2 | 7 | ||
| 3 | * config.in: Regenerate. | 8 | * config.in: Regenerate. |
diff --git a/src/xfont.c b/src/xfont.c index 83a8c770f86..67cb6e50664 100644 --- a/src/xfont.c +++ b/src/xfont.c | |||
| @@ -473,8 +473,8 @@ xfont_list_family (frame) | |||
| 473 | continue; | 473 | continue; |
| 474 | last_len = p1 - p0; | 474 | last_len = p1 - p0; |
| 475 | last_family = p0; | 475 | last_family = p0; |
| 476 | family = make_unibyte_string (p0, last_len); | 476 | family = font_intern_prop (p0, last_len, 1); |
| 477 | if (NILP (Fassoc_string (family, list, Qt))) | 477 | if (NILP (assq_no_quit (family, list))) |
| 478 | list = Fcons (family, list); | 478 | list = Fcons (family, list); |
| 479 | } | 479 | } |
| 480 | 480 | ||