Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2094/src
Modified Files: Tag: devel_0_38 s_file.c Log Message: once again fixed registry HKEY types
Index: s_file.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_file.c,v retrieving revision 1.2.4.7 retrieving revision 1.2.4.8 diff -C2 -d -r1.2.4.7 -r1.2.4.8 *** s_file.c 7 Jan 2005 12:23:26 -0000 1.2.4.7 --- s_file.c 17 Jan 2005 20:19:28 -0000 1.2.4.8 *************** *** 157,161 **** static int sys_getpreference(const char *key, char *value, int size) { ! HKEY **hkey; DWORD bigsize = size; LONG err = RegOpenKeyEx(HKEY_LOCAL_MACHINE, --- 157,161 ---- static int sys_getpreference(const char *key, char *value, int size) { ! HKEY hkey; DWORD bigsize = size; LONG err = RegOpenKeyEx(HKEY_LOCAL_MACHINE, *************** *** 185,189 **** 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, --- 185,189 ---- 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,