diff options
author | Araq <rumpf_a@web.de> | 2019-07-10 23:55:56 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-07-10 23:55:56 +0200 |
commit | 38bdf1cd7f4d5c6e22a70ee32438beccc7e36690 (patch) | |
tree | 7661bad127a6c489e2047dbcd54e2268d5000ec0 /lib/windows | |
parent | b2f944789630250cb4cc38f9f6b0a063d6e8a703 (diff) | |
download | Nim-38bdf1cd7f4d5c6e22a70ee32438beccc7e36690.tar.gz |
minor style changes
Diffstat (limited to 'lib/windows')
-rw-r--r-- | lib/windows/registry.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/windows/registry.nim b/lib/windows/registry.nim index 06f84c881..c17f2f455 100644 --- a/lib/windows/registry.nim +++ b/lib/windows/registry.nim @@ -69,7 +69,7 @@ proc regSetValue(key: HKEY, lpSubKey, lpValueName: WideCString, dwType: int32; lpData: WideCString; cbData: int32): int32 {. importc: "RegSetKeyValueW", dynlib: "Advapi32.dll", stdcall.} -proc setUnicodeValue*(path, key, val: string; handle: HKey) = +proc setUnicodeValue*(path, key, val: string; handle: HKEY) = let hh = newWideCString path let kk = newWideCString key let vv = newWideCString val |