From eb6bf8f4cc700ca89df670b01c27bf30465e91cc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 13 Feb 2018 14:44:43 +0300 Subject: StatusManager: - minor code cleaning; - version bump --- plugins/StatusManager/src/StartupStatus/ss_options.cpp | 2 +- plugins/StatusManager/src/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/StatusManager/src') diff --git a/plugins/StatusManager/src/StartupStatus/ss_options.cpp b/plugins/StatusManager/src/StartupStatus/ss_options.cpp index a95e6c4c4e..6e48296d4d 100644 --- a/plugins/StatusManager/src/StartupStatus/ss_options.cpp +++ b/plugins/StatusManager/src/StartupStatus/ss_options.cpp @@ -178,7 +178,7 @@ public: void onClick_Link(CCtrlButton*) { wchar_t savePath[MAX_PATH]; - if (SHGetSpecialFolderPath(nullptr, savePath, 0x10, FALSE)) + if (SHGetSpecialFolderPath(nullptr, savePath, CSIDL_DESKTOPDIRECTORY, FALSE)) wcsncat_s(savePath, SHORTCUT_FILENAME, _countof(savePath) - mir_wstrlen(savePath)); else mir_snwprintf(savePath, L".\\%s", SHORTCUT_FILENAME); diff --git a/plugins/StatusManager/src/version.h b/plugins/StatusManager/src/version.h index a16d737182..50de31c953 100644 --- a/plugins/StatusManager/src/version.h +++ b/plugins/StatusManager/src/version.h @@ -2,7 +2,7 @@ #define __MAJOR_VERSION 1 #define __MINOR_VERSION 1 #define __RELEASE_NUM 0 -#define __BUILD_NUM 2 +#define __BUILD_NUM 3 // other stuff for Version resource #include -- cgit v1.2.3