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/res/resource.rc | 2 +- plugins/StatusManager/src/StartupStatus/ss_options.cpp | 2 +- plugins/StatusManager/src/version.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/StatusManager/res/resource.rc b/plugins/StatusManager/res/resource.rc index 38eaae136d..0e38cf1268 100644 --- a/plugins/StatusManager/res/resource.rc +++ b/plugins/StatusManager/res/resource.rc @@ -160,7 +160,7 @@ EXSTYLE WS_EX_CONTROLPARENT CAPTION "Command line" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - DEFPUSHBUTTON "OK",IDC_OK,257,61,51,14 + DEFPUSHBUTTON "OK",IDOK,257,61,51,14 PUSHBUTTON "Copy to clipboard",IDC_COPY,132,61,120,14 EDITTEXT IDC_CMDL,7,19,301,35,ES_MULTILINE | ES_READONLY LTEXT "Command line:",IDC_STATIC,7,7,301,8 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