diff --git a/clienttray/tray_win.cpp b/clienttray/tray_win.cpp index a9b6848f57..5d26a03d94 100644 --- a/clienttray/tray_win.cpp +++ b/clienttray/tray_win.cpp @@ -56,7 +56,6 @@ INT CBOINCTray::Run( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR /* lpCm #endif BOINC_DIAG_DUMPCALLSTACKENABLED | BOINC_DIAG_PERUSERLOGFILES | - BOINC_DIAG_HEAPCHECKENABLED | BOINC_DIAG_TRACETOSTDOUT | BOINC_DIAG_REDIRECTSTDERR | BOINC_DIAG_REDIRECTSTDOUT; diff --git a/lib/diagnostics.cpp b/lib/diagnostics.cpp index e66815662c..a0c79ba12d 100644 --- a/lib/diagnostics.cpp +++ b/lib/diagnostics.cpp @@ -243,7 +243,7 @@ int diagnostics_init( char user_dir[MAXPATHLEN]; #if defined(_WIN32) - snprintf(user_dir, sizeof(user_dir), "%s", getenv("LOCALAPPDATA")); + snprintf(user_dir, sizeof(user_dir), "%s", getenv("APPDATA")); strncat(user_dir, "/BOINC", sizeof(user_dir) - strlen(user_dir)-1); #elif defined(__APPLE__) snprintf(user_dir, sizeof(user_dir), "%s", getenv("HOME"));