Skip to content

Commit 00ecba2

Browse files
authored
Update Paths.cpp
1 parent fc9d0b4 commit 00ecba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Interpreter/Paths.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ bool ExpandEnvVars(std::string& Str, bool Path) {
170170
std::string FullPath;
171171
char* Tok = nullptr;
172172
size_t sz = 0;
173-
if (getenv_s(&sz, &Tok, &sz, EnvVar.c_str())) {
173+
if (getenv_s(&sz, Tok, &sz, EnvVar.c_str())) {
174174
FullPath = Tok;
175175

176176
Str.replace(DPos, Length, FullPath);

0 commit comments

Comments
 (0)