ft2-clone

Fasttracker 2 clone
Log | Files | Refs | README | LICENSE

commit a56e333a3570f382c449f6e6a2f17fc0c8c23a3c
parent b40be01720168c7c9a60210a0147ea6a78a080c4
Author: Olav Sørensen <olav.sorensen@live.no>
Date:   Tue, 27 Sep 2022 16:22:05 +0200

Windows: Set default disk op. dir to the user's desktop

Diffstat:
Msrc/ft2_diskop.c | 2+-
Msrc/ft2_header.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ft2_diskop.c b/src/ft2_diskop.c @@ -2253,7 +2253,7 @@ void showDiskOpScreen(void) { // 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) diff --git 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...