fix: fixed UnifiedWine

This commit is contained in:
Observer KRypt0n_ 2023-06-14 13:25:02 +02:00
parent a2f4ee924b
commit f1df866093
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -231,10 +231,10 @@ impl WineFontsExt for UnifiedWine {
} }
#[inline] #[inline]
fn install_corefont(&self, corefont: Corefont) -> anyhow::Result<()> { fn install_font(&self, font: Font) -> anyhow::Result<()> {
match self { match self {
Self::Default(wine) => wine.install_corefont(corefont), Self::Default(wine) => wine.install_font(font),
Self::Proton(proton) => proton.install_corefont(corefont) Self::Proton(proton) => proton.install_font(font)
} }
} }
} }