diff options
| author | ergrelet <ergrelet@users.noreply.github.com> | 2024-07-07 02:14:36 +0200 |
|---|---|---|
| committer | Josh F <negasora@users.noreply.github.com> | 2024-07-06 20:47:04 -0400 |
| commit | e67e459cfca17c14a110555780643485642da343 (patch) | |
| tree | a6e77b824407cbbe5c8e0b16285eb6d7e1a13bff /rust/src | |
| parent | 25b82434dff420390f7e0090fe29f5fd31966787 (diff) | |
Fix TagType::set_icon so that it actually sets a tag type's icon
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 _); } } |
