aboutsummaryrefslogtreecommitdiff
path: root/src/balutil/balutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/balutil/balutil.cpp')
-rw-r--r--src/balutil/balutil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/balutil/balutil.cpp b/src/balutil/balutil.cpp
index ebfaede4..faca70f5 100644
--- a/src/balutil/balutil.cpp
+++ b/src/balutil/balutil.cpp
@@ -167,7 +167,7 @@ LExit:
167} 167}
168 168
169 169
170DAPI_(BOOL) BalStringVariableExists( 170DAPI_(BOOL) BalVariableExists(
171 __in_z LPCWSTR wzVariable 171 __in_z LPCWSTR wzVariable
172 ) 172 )
173{ 173{
@@ -183,7 +183,7 @@ DAPI_(BOOL) BalStringVariableExists(
183 hr = vpEngine->GetVariableString(wzVariable, NULL, &cch); 183 hr = vpEngine->GetVariableString(wzVariable, NULL, &cch);
184 184
185LExit: 185LExit:
186 return E_MOREDATA == hr; // string exists only if there are more than zero characters in the variable. 186 return E_NOTFOUND != hr;
187} 187}
188 188
189 189