aboutsummaryrefslogtreecommitdiff
path: root/toolsrc
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2019-08-19 13:49:44 -0700
committerGitHub <noreply@github.com>2019-08-19 13:49:44 -0700
commit5a1e9920236c9d820705e8b0d32455f8062d5a42 (patch)
tree4d284df3276f446162830686489c54840b75e34b /toolsrc
parent8e7ce6d91a060bba5f9e252a5d9aad92f5bd4a56 (diff)
downloadvcpkg-5a1e9920236c9d820705e8b0d32455f8062d5a42.tar.gz
vcpkg-5a1e9920236c9d820705e8b0d32455f8062d5a42.zip
[vcpkg] allow multiple spaces in a comma list (#7754)
Diffstat (limited to 'toolsrc')
-rw-r--r--toolsrc/src/vcpkg/parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/parse.cpp b/toolsrc/src/vcpkg/parse.cpp
index 9c9968249..0509339c5 100644
--- a/toolsrc/src/vcpkg/parse.cpp
+++ b/toolsrc/src/vcpkg/parse.cpp
@@ -66,7 +66,7 @@ namespace vcpkg::Parse
// skip comma and space
++pos;
- if (str[pos] == ' ')
+ while (str[pos] == ' ')
{
++pos;
}