Skip to content

Commit

Permalink
Prefix variable in NSIS string with $
Browse files Browse the repository at this point in the history
  • Loading branch information
russellbanks committed Oct 9, 2024
1 parent e8c0b2d commit af7fdc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/installers/nsis/strings/var.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub struct NsVar;

impl NsVar {
pub fn resolve(buf: &mut String, mut index: u32, nsis_version: NsisVersion) {
buf.push('$');
if index < TOTAL_INT_VARS {
if index >= NUM_R_INT_VARS {
buf.push('R');
Expand Down

0 comments on commit af7fdc8

Please sign in to comment.