Skip to content

Commit

Permalink
Fix TagType::set_icon so that it actually sets a tag type's icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ergrelet authored and negasora committed Jul 7, 2024
1 parent 25b8243 commit e67e459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/tags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 _);
}
}

Expand Down

0 comments on commit e67e459

Please sign in to comment.