fix: Typo in variable name (#5710)

This commit is contained in:
LeoniePhiline 2023-01-28 00:16:23 +01:00 committed by GitHub
parent 4a59d337f4
commit 2c6bf6fca6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ impl Loader {
fn load_theme(
&self,
name: &str,
base_them_name: &str,
base_theme_name: &str,
only_default_dir: bool,
) -> Result<Value> {
let path = self.path(name, only_default_dir);
@ -94,8 +94,8 @@ impl Loader {
"base16_default" => BASE16_DEFAULT_THEME_DATA.clone(),
_ => self.load_theme(
parent_theme_name,
base_them_name,
base_them_name == parent_theme_name,
base_theme_name,
base_theme_name == parent_theme_name,
)?,
};