HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(split_font_name): Make sure to leave the loop
[bpt/emacs.git]
/
src
/
xfaces.c
diff --git
a/src/xfaces.c
b/src/xfaces.c
index
a50ec9a
..
93acc8b
100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-2205,9
+2205,10
@@
split_font_name (f, font, numeric_p)
{
char *p = xstrlwr (font->name) + 1;
-
for (; i < XLFD_LAST; ++i
)
+
while (i < XLFD_LAST
)
{
font->fields[i] = p;
+ ++i;
/* Pixel and point size may be of the form `[....]'. For
BNF, see XLFD spec, chapter 4. Negative values are