ref: a56e333a3570f382c449f6e6a2f17fc0c8c23a3c
parent: b40be01720168c7c9a60210a0147ea6a78a080c4
author: Olav Sørensen <olav.sorensen@live.no>
date: Tue Sep 27 12:22:32 EDT 2022
Windows: Set default disk op. dir to the user's desktop
--- a/src/ft2_diskop.c
+++ b/src/ft2_diskop.c
@@ -2253,7 +2253,7 @@
{
// nope, couldn't do that, set Disk Op. path to user/home directory
#ifdef _WIN32
- SHGetFolderPathW(NULL, CSIDL_PROFILE, NULL, 0, FReq_ModCurPathU);
+ SHGetFolderPathW(NULL, CSIDL_DESKTOPDIRECTORY, NULL, 0, FReq_ModCurPathU);
#else
char *home = getenv("HOME");
if (home != NULL)
--- a/src/ft2_header.h
+++ b/src/ft2_header.h
@@ -12,7 +12,7 @@
#endif
#include "ft2_replayer.h"
-#define PROG_VER_STR "1.58"
+#define PROG_VER_STR "1.59"
// do NOT change these! It will only mess things up...