summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-13 14:44:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-13 14:44:43 +0300
commiteb6bf8f4cc700ca89df670b01c27bf30465e91cc (patch)
treeaf51f904b160949fd316e355992aeb513048da84 /plugins
parentbce245873c196325b25490f00180783167549392 (diff)
StatusManager:
- minor code cleaning; - version bump
Diffstat (limited to 'plugins')
-rw-r--r--plugins/StatusManager/res/resource.rc2
-rw-r--r--plugins/StatusManager/src/StartupStatus/ss_options.cpp2
-rw-r--r--plugins/StatusManager/src/version.h2
3 files changed, 3 insertions, 3 deletions
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 <stdver.h>