Skip to content

Commit 5fdc3b2

Browse files
committed
format code
1 parent 354cbaf commit 5fdc3b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xmake/modules/detect/sdks/find_vstudio.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ function _find_vstudio(opt)
340340
table.insert(paths, 1, vswhere_VCAuxiliaryBuildDir)
341341
end
342342
if version == "6.0" and os.arch() == "x64" then
343-
table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\DevStudio\\6.0\\Products\\Microsoft Visual C++;ProductDir)\\Bin")
344-
table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual C++;ProductDir)\\Bin")
343+
table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\DevStudio\\6.0\\Products\\Microsoft Visual C++;ProductDir)\\Bin")
344+
table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual C++;ProductDir)\\Bin")
345345
end
346-
346+
347347
-- find vcvarsall.bat, vcvars32.bat for vs7.1
348348
local vcvarsall = find_file("vcvarsall.bat", paths) or find_file("vcvars32.bat", paths)
349349
if not vcvarsall then

0 commit comments

Comments
 (0)