Commit cc97dc80 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

correct Windows registry key in s_file.c

parent 6b38ccce
......@@ -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\\Pd-extended", 0, KEY_QUERY_VALUE, &hkey);
"Software\\Purr-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\\Pd-extended", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_SET_VALUE,
"Software\\Purr-Data", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_SET_VALUE,
NULL, &hkey, NULL);
if (err != ERROR_SUCCESS)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment