Mercurial > emacs
changeset 90483:72186e5bf7ed
(font_parse_fcname): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 19 Jun 2006 13:00:37 +0000 |
parents | 48a50b114c17 |
children | 6f039e9c742f |
files | src/font.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/font.c Mon Jun 19 12:44:41 2006 +0000 +++ b/src/font.c Mon Jun 19 13:00:37 2006 +0000 @@ -1131,6 +1131,8 @@ } else { + char *pbeg = p0; + if (memcmp (p0 + 1, "pixelsize=", 10) == 0) prop = FONT_SIZE_INDEX; else @@ -1163,8 +1165,8 @@ else { /* unknown key */ - bcopy (p0, copy, p1 - p0); - copy += p1 - p0; + bcopy (pbeg, copy, p1 - pbeg); + copy += p1 - pbeg; } } p0 = p1;