The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Spelling

These changes was commited to the Birdfont repository Mon, 04 Jul 2016 18:52:53 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 04 Jul 2016 18:52:53 +0000 (20:52 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 04 Jul 2016 18:52:53 +0000 (20:52 +0200)
commit b2633aca97d09f7481e1a86f13a76d81be36df3d
tree ab6a79fce4884414ba93e4a482485d5423284dfc
parent df5ae9cb468cf1261901dd918c6d00b96294c631
Spelling

libsvgbird/Selector.vala
libsvgbird/SvgStyle.vala
--- a/libsvgbird/Selector.vala +++ b/libsvgbird/Selector.vala @@ -91,9 +91,9 @@ return new Selector.copy_constructor (this); } - public bool match_tag (XmlElement tag, string? id, string? css_class, string? psedo_class) { + public bool match_tag (XmlElement tag, string? id, string? css_class, string? pseudo_class) { foreach (SelectorPattern pattern in tag_patterns) { - if (pattern.match (tag, id, css_class, psedo_class)) { + if (pattern.match (tag, id, css_class, pseudo_class)) { return true; } } @@ -101,9 +101,9 @@ return false; } - public bool match_id (XmlElement tag, string? id, string? css_class, string? psedo_class) { + public bool match_id (XmlElement tag, string? id, string? css_class, string? pseudo_class) { foreach (SelectorPattern pattern in id_patterns) { - if (pattern.match (tag, id, css_class, psedo_class)) { + if (pattern.match (tag, id, css_class, pseudo_class)) { return true; } } @@ -111,9 +111,9 @@ return false; } - public bool match_class (XmlElement tag, string? id, string? css_class, string? psedo_class) { + public bool match_class (XmlElement tag, string? id, string? css_class, string? pseudo_class) { foreach (SelectorPattern pattern in class_patterns) { - if (pattern.match (tag, id, css_class, psedo_class)) { + if (pattern.match (tag, id, css_class, pseudo_class)) { return true; } } @@ -121,9 +121,9 @@ return false; } - public bool match_pseudo_class (XmlElement tag, string? id, string? css_class, string? psedo_class) { + public bool match_pseudo_class (XmlElement tag, string? id, string? css_class, string? pseudo_class) { foreach (SelectorPattern pattern in pseudo_class_patterns) { - if (pattern.match (tag, id, css_class, psedo_class)) { + if (pattern.match (tag, id, css_class, pseudo_class)) { return true; } }
--- a/libsvgbird/SvgStyle.vala +++ b/libsvgbird/SvgStyle.vala @@ -236,7 +236,7 @@ } } - public static SvgStyle parse (Defs? d, SvgStyle inherited, XmlElement tag, string? psedo_class) { + public static SvgStyle parse (Defs? d, SvgStyle inherited, XmlElement tag, string? psuedo_class) { SvgStyle s = new SvgStyle (); Attributes attributes = tag.get_attributes (); @@ -245,7 +245,7 @@ if (d != null) { StyleSheet style_sheet = ((!) d).style_sheet; - style_sheet.apply_style (tag, s, psedo_class); + style_sheet.apply_style (tag, s, psuedo_class); } foreach (Attribute a in attributes) {