[PD-cvs] pd/src s_file.c,1.2.4.1,1.2.4.2
Thomas Grill
xovo at users.sourceforge.net
Sun Nov 7 12:13:16 CET 2004
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21416/src
Modified Files:
Tag: devel_0_38
s_file.c
Log Message:
fixed strange usage of HKEY type
Index: s_file.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_file.c,v
retrieving revision 1.2.4.1
retrieving revision 1.2.4.2
diff -C2 -d -r1.2.4.1 -r1.2.4.2
*** s_file.c 5 Nov 2004 14:27:47 -0000 1.2.4.1
--- s_file.c 7 Nov 2004 11:13:14 -0000 1.2.4.2
***************
*** 158,162 ****
static int sys_getpreference(const char *key, char *value, int size)
{
! HKEY **hkey;
DWORD bigsize = size;
char *val2 = value;
--- 158,162 ----
static int sys_getpreference(const char *key, char *value, int size)
{
! HKEY hkey;
DWORD bigsize = size;
char *val2 = value;
***************
*** 193,197 ****
static void sys_putpreference(const char *key, const char *value)
{
! HKEY **hkey;
LONG err = RegCreateKeyEx(HKEY_LOCAL_MACHINE,
"Software\\Pd", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_SET_VALUE,
--- 193,197 ----
static void sys_putpreference(const char *key, const char *value)
{
! HKEY hkey;
LONG err = RegCreateKeyEx(HKEY_LOCAL_MACHINE,
"Software\\Pd", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_SET_VALUE,
More information about the Pd-cvs
mailing list