summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/SimpleStatusMsg/src/Version.h18
-rw-r--r--plugins/SimpleStatusMsg/src/options.cpp2
-rw-r--r--plugins/SimpleStatusMsg/src/utils.cpp2
3 files changed, 11 insertions, 11 deletions
diff --git a/plugins/SimpleStatusMsg/src/Version.h b/plugins/SimpleStatusMsg/src/Version.h
index b42a79a9e9..88e6adc46a 100644
--- a/plugins/SimpleStatusMsg/src/Version.h
+++ b/plugins/SimpleStatusMsg/src/Version.h
@@ -1,14 +1,14 @@
#define __MAJOR_VERSION 1
#define __MINOR_VERSION 9
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 4
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 5
#include <stdver.h>
-#define __PLUGIN_NAME "Simple status message"
-#define __FILENAME "SimpleStatusMsg.dll"
-#define __DESCRIPTION "Provides a simple way to set status and away messages."
-#define __AUTHOR "Bartosz 'Dezeath' Bialek, Harven"
-#define __AUTHOREMAIL "dezred@gmail.com"
-#define __AUTHORWEB "http://miranda-ng.org/p/SimpleStatusMsg/"
-#define __COPYRIGHT "© 2006-2011 Bartosz Bialek, 2005 Harven"
+#define __PLUGIN_NAME "Simple status message"
+#define __FILENAME "SimpleStatusMsg.dll"
+#define __DESCRIPTION "Provides a simple way to set status and away messages."
+#define __AUTHOR "Bartosz 'Dezeath' Bialek, Harven"
+#define __AUTHOREMAIL "dezred@gmail.com"
+#define __AUTHORWEB "http://miranda-ng.org/p/SimpleStatusMsg/"
+#define __COPYRIGHT "© 2006-2011 Bartosz Bialek, 2005 Harven"
diff --git a/plugins/SimpleStatusMsg/src/options.cpp b/plugins/SimpleStatusMsg/src/options.cpp
index d64a87d34e..d5b147eaf6 100644
--- a/plugins/SimpleStatusMsg/src/options.cpp
+++ b/plugins/SimpleStatusMsg/src/options.cpp
@@ -1459,7 +1459,7 @@ static INT_PTR CALLBACK DlgStatusOptionsProc(HWND hwndDlg, UINT uMsg, WPARAM wPa
{
char setting[80];
mir_snprintf(setting, SIZEOF(setting), "Startup%sStatus", accounts->pa[i]->szModuleName);
- data->status[i] = db_get_w(NULL, "SimpleStatusMsg", setting, ID_STATUS_OFFLINE);
+ data->status[i] = db_get_w(NULL, "SimpleStatusMsg", setting, ID_STATUS_CURRENT);
mir_snprintf(setting, SIZEOF(setting), "Set%sStatusDelay", accounts->pa[i]->szModuleName);
data->setdelay[i] = db_get_w(NULL, "SimpleStatusMsg", setting, 300);
SendDlgItemMessage(hwndDlg, IDC_LISTPROTO, LB_SETITEMDATA, (WPARAM)index, (LPARAM)i);
diff --git a/plugins/SimpleStatusMsg/src/utils.cpp b/plugins/SimpleStatusMsg/src/utils.cpp
index e199759257..b77b652757 100644
--- a/plugins/SimpleStatusMsg/src/utils.cpp
+++ b/plugins/SimpleStatusMsg/src/utils.cpp
@@ -148,7 +148,7 @@ int GetStartupStatus(const char *szProto)
char szSetting[80];
mir_snprintf(szSetting, SIZEOF(szSetting), "Startup%sStatus", szProto);
- status_mode = db_get_w(NULL, "SimpleStatusMsg", szSetting, ID_STATUS_OFFLINE);
+ status_mode = db_get_w(NULL, "SimpleStatusMsg", szSetting, ID_STATUS_CURRENT);
if (status_mode == ID_STATUS_CURRENT) {
// load status used for this proto last time
mir_snprintf(szSetting, SIZEOF(szSetting), "Last%sStatus", szProto);