minor style changes

This commit is contained in:
Araq
2019-07-10 23:55:56 +02:00
parent b2f9447896
commit 38bdf1cd7f
11 changed files with 60 additions and 56 deletions

View File

@@ -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