Commit c24d3268 authored by Richard Hestilow's avatar Richard Hestilow Committed by Rachel Hestilow
Browse files

Fixed hyphen vs hypen typo

1998-09-23  Richard Hestilow  <hestgray@ionet.net>

	* src/style.c: Fixed hyphen vs hypen typo
parent f7e3b6a2
1998-09-23 Richard Hestilow <hestgray@ionet.net>
* src/style.c: fixed hyphen vs hypen typo.
1998-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/style.c (font_compute_hints): At font creation time store a
......
1998-09-23 Richard Hestilow <hestgray@ionet.net>
* src/style.c: fixed hyphen vs hypen typo.
1998-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/style.c (font_compute_hints): At font creation time store a
......
1998-09-23 Richard Hestilow <hestgray@ionet.net>
* src/style.c: fixed hyphen vs hypen typo.
1998-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/style.c (font_compute_hints): At font creation time store a
......
1998-09-23 Richard Hestilow <hestgray@ionet.net>
* src/style.c: fixed hyphen vs hypen typo.
1998-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/style.c (font_compute_hints): At font creation time store a
......
......@@ -74,18 +74,18 @@ font_compute_hints (StyleFont *font)
for (;*p; p++){
if (*p == '-'){
hypens++;
hyphens++;
if (hypens == 3 && (strcmp (p+1, "bold") == 0)){
if (hyphens == 3 && (strcmp (p+1, "bold") == 0)){
font->hint_is_bold = 1;
}
if (hypens == 4){
if (hyphens == 4){
if (*(p+1) == 'o' || *(p+1) == 'i')
font->hint_is_italic = 1;
}
if (hypens > 5)
if (hyphens > 5)
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment