diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-08-01 10:20:31 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-08-09 10:47:30 -0600 |
| commit | a37013d41f0702cbdf2aee6dce95d26dafc069b4 (patch) | |
| tree | 16cc67c99f5319279a32a07c1fd1b52dccd13867 /src/balutil/balutil.cpp | |
| parent | 2ded319a01a9ec42b637a677813d394cd7eda6b9 (diff) | |
| download | wix-a37013d41f0702cbdf2aee6dce95d26dafc069b4.tar.gz wix-a37013d41f0702cbdf2aee6dce95d26dafc069b4.tar.bz2 wix-a37013d41f0702cbdf2aee6dce95d26dafc069b4.zip | |
WIXFEAT:4763 Change "string" variable type to literal and add "formatted".
Diffstat (limited to 'src/balutil/balutil.cpp')
| -rw-r--r-- | src/balutil/balutil.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/balutil/balutil.cpp b/src/balutil/balutil.cpp index 7567752c..ebfaede4 100644 --- a/src/balutil/balutil.cpp +++ b/src/balutil/balutil.cpp | |||
| @@ -225,7 +225,8 @@ LExit: | |||
| 225 | 225 | ||
| 226 | DAPI_(HRESULT) BalSetStringVariable( | 226 | DAPI_(HRESULT) BalSetStringVariable( |
| 227 | __in_z LPCWSTR wzVariable, | 227 | __in_z LPCWSTR wzVariable, |
| 228 | __in_z_opt LPCWSTR wzValue | 228 | __in_z_opt LPCWSTR wzValue, |
| 229 | __in BOOL fFormatted | ||
| 229 | ) | 230 | ) |
| 230 | { | 231 | { |
| 231 | HRESULT hr = S_OK; | 232 | HRESULT hr = S_OK; |
| @@ -236,7 +237,7 @@ DAPI_(HRESULT) BalSetStringVariable( | |||
| 236 | ExitOnRootFailure(hr, "BalInitialize() must be called first."); | 237 | ExitOnRootFailure(hr, "BalInitialize() must be called first."); |
| 237 | } | 238 | } |
| 238 | 239 | ||
| 239 | hr = vpEngine->SetVariableString(wzVariable, wzValue); | 240 | hr = vpEngine->SetVariableString(wzVariable, wzValue, fFormatted); |
| 240 | 241 | ||
| 241 | LExit: | 242 | LExit: |
| 242 | return hr; | 243 | return hr; |
