some windows build fixes

This commit is contained in:
Paul Davis
2014-03-02 21:14:54 -05:00
parent 9952f774e9
commit 5db9599e7e

View File

@@ -35,7 +35,8 @@ vst_search_path ()
HKEY hKey;
DWORD dwSize = PATH_MAX;
char* p = 0;
gchar *user_home = 0;
char* user_home = 0;
char tmp[PATH_MAX+1];
if (ERROR_SUCCESS == RegOpenKeyExA (HKEY_CURRENT_USER, "Software\\VST", 0, KEY_READ, &hKey)) {
// Look for the user's VST Registry entry