Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
cc97dc80
Commit
cc97dc80
authored
Aug 13, 2016
by
Jonathan Wilkes
Browse files
correct Windows registry key in s_file.c
parent
6b38ccce
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/src/s_file.c
View file @
cc97dc80
...
...
@@ -181,7 +181,7 @@ static int sys_getpreference(const char *key, char *value, int size)
HKEY
hkey
;
DWORD
bigsize
=
size
;
LONG
err
=
RegOpenKeyEx
(
HKEY_LOCAL_MACHINE
,
"Software
\\
P
d-extended
"
,
0
,
KEY_QUERY_VALUE
,
&
hkey
);
"Software
\\
P
urr-Data
"
,
0
,
KEY_QUERY_VALUE
,
&
hkey
);
if
(
err
!=
ERROR_SUCCESS
)
{
return
(
0
);
...
...
@@ -208,7 +208,7 @@ static void sys_putpreference(const char *key, const char *value)
{
HKEY
hkey
;
LONG
err
=
RegCreateKeyEx
(
HKEY_LOCAL_MACHINE
,
"Software
\\
P
d-extended
"
,
0
,
NULL
,
REG_OPTION_NON_VOLATILE
,
KEY_SET_VALUE
,
"Software
\\
P
urr-Data
"
,
0
,
NULL
,
REG_OPTION_NON_VOLATILE
,
KEY_SET_VALUE
,
NULL
,
&
hkey
,
NULL
);
if
(
err
!=
ERROR_SUCCESS
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment