diff --git a/rust/src/tags.rs b/rust/src/tags.rs index 912ee81b1..29266ed0b 100644 --- a/rust/src/tags.rs +++ b/rust/src/tags.rs @@ -132,7 +132,7 @@ impl TagType { pub fn set_icon(&self, icon: S) { let icon = icon.into_bytes_with_nul(); unsafe { - BNTagTypeSetName(self.handle, icon.as_ref().as_ptr() as *mut _); + BNTagTypeSetIcon(self.handle, icon.as_ref().as_ptr() as *mut _); } }