mirror of
https://github.com/alacritty/alacritty.git
synced 2025-04-14 17:53:03 -04:00
config_subsitute(): fix typo by renaming to config_substitute()
This commit is contained in:
parent
7c4e84c695
commit
f646f6c9f8
2 changed files with 4 additions and 4 deletions
|
@ -50,7 +50,7 @@ pub fn font_match(
|
|||
config: &ConfigRef,
|
||||
pattern: &mut PatternRef,
|
||||
) -> Option<Pattern> {
|
||||
pattern.config_subsitute(config, MatchKind::Pattern);
|
||||
pattern.config_substitute(config, MatchKind::Pattern);
|
||||
pattern.default_substitute();
|
||||
|
||||
unsafe {
|
||||
|
@ -77,7 +77,7 @@ pub fn font_sort(
|
|||
config: &ConfigRef,
|
||||
pattern: &mut PatternRef,
|
||||
) -> Option<FontSet> {
|
||||
pattern.config_subsitute(config, MatchKind::Pattern);
|
||||
pattern.config_substitute(config, MatchKind::Pattern);
|
||||
pattern.default_substitute();
|
||||
|
||||
unsafe {
|
||||
|
@ -110,7 +110,7 @@ pub fn font_list(
|
|||
pattern: &mut PatternRef,
|
||||
objects: &ObjectSetRef,
|
||||
) -> Option<FontSet> {
|
||||
pattern.config_subsitute(config, MatchKind::Pattern);
|
||||
pattern.config_substitute(config, MatchKind::Pattern);
|
||||
pattern.default_substitute();
|
||||
|
||||
unsafe {
|
||||
|
|
|
@ -604,7 +604,7 @@ impl PatternRef {
|
|||
index() => b"index\0"
|
||||
}
|
||||
|
||||
pub fn config_subsitute(&mut self, config: &ConfigRef, kind: MatchKind) {
|
||||
pub fn config_substitute(&mut self, config: &ConfigRef, kind: MatchKind) {
|
||||
unsafe {
|
||||
FcConfigSubstitute(config.as_ptr(), self.as_ptr(), kind as u32);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue