diff options
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/tags.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/tags.rs b/rust/src/tags.rs index 912ee81b..29266ed0 100644 --- a/rust/src/tags.rs +++ b/rust/src/tags.rs @@ -132,7 +132,7 @@ impl TagType { pub fn set_icon<S: BnStrCompatible>(&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 _); } } |
