diff options
author | George Hazan <ghazan@miranda.im> | 2018-02-13 14:44:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-13 14:44:43 +0300 |
commit | eb6bf8f4cc700ca89df670b01c27bf30465e91cc (patch) | |
tree | af51f904b160949fd316e355992aeb513048da84 /plugins/StatusManager/src | |
parent | bce245873c196325b25490f00180783167549392 (diff) |
StatusManager:
- minor code cleaning;
- version bump
Diffstat (limited to 'plugins/StatusManager/src')
-rw-r--r-- | plugins/StatusManager/src/StartupStatus/ss_options.cpp | 2 | ||||
-rw-r--r-- | plugins/StatusManager/src/version.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 <stdver.h> |