summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-04 00:05:22 +0800
committerruki <[email protected]>2021-02-04 00:05:22 +0800
commita3a58f8dbc6a6cbfc5a2ece6b2b5c56a24408297 (patch)
treea820b8d2c9cf769d5ea53d50cb8898354630d173
parenta76aab983d3acb30cf8138bffbc4f755c649fb30 (diff)
improve winos.registry_query
-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 3683a97ef..d19faf0cb 100644
--- a/xmake/core/base/winos.lua
+++ b/xmake/core/base/winos.lua
@@ -215,7 +215,7 @@ function winos.registry_query(keypath)
-- get value name
local splitinfo = keypath:split(';', {plain = true})
- local valuename = splitinfo[2] or "(Default)"
+ local valuename = splitinfo[2] or ""
keypath = splitinfo[1]
-- get rootkey, e.g. HKEY_LOCAL_MACHINE