summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/base/winos.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/winos.lua b/xmake/core/base/winos.lua
index d7cc081a9..59c705708 100644
--- a/xmake/core/base/winos.lua
+++ b/xmake/core/base/winos.lua
@@ -328,7 +328,7 @@ function winos.registry_values(keypath)
local value_names = {}
local count, errors = winos._registry_values(rootkey, rootdir, function (value_name)
if not pattern or value_name:match("^" .. pattern .. "$") then
- table.insert(value_names, value_name)
+ table.insert(value_names, rootkey .. "\\" .. rootdir .. ";" .. value_name)
end
return true
end)