Fix SDK detection if no SDK installed.

This commit is contained in:
Jeroen van Rijn
2022-05-29 14:48:44 +02:00
parent 6c0192083e
commit 136d50a745

View File

@@ -707,8 +707,8 @@ bool find_msvc_install_from_env_vars(Find_Result_Utf8 *result) {
isize lo = {0};
isize hi = {0};
for (isize c = 0; c <= path.len; c += 1) {
if (c != path.len && path[c] != ';') {
for (isize c = 0; c < path.len; c += 1) {
if (path[c] != ';') {
continue;
}