Skip to content

Commit

Permalink
Swap fileicon and rez function calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Jan 7, 2024
1 parent 429d5c6 commit 36d61a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/icon_conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,9 @@ impl IconConversion {
}

let assignment_fn = match options.set_icon_using {
SetIconUsing::Fileicon => Self::assign_icns_using_rez,
SetIconUsing::Fileicon => Self::assign_icns_using_fileicon,
SetIconUsing::Osascript => Self::assign_icns_using_osascript,
SetIconUsing::Rez => Self::assign_icns_using_fileicon,
SetIconUsing::Rez => Self::assign_icns_using_rez,
};
assignment_fn(self, options, icns_path, target_path)?;

Expand Down

0 comments on commit 36d61a4

Please sign in to comment.