summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusManager/src/StartupStatus/ss_profiles.cpp')
-rw-r--r--plugins/StatusManager/src/StartupStatus/ss_profiles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp b/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp
index 05fa484306..9bacd8e27c 100644
--- a/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp
+++ b/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp
@@ -113,7 +113,7 @@ INT_PTR GetProfileName(WPARAM wParam, LPARAM lParam)
INT_PTR GetProfileCount(WPARAM wParam, LPARAM)
{
int *def = (int*)wParam;
- int count = db_get_w(0, SSMODULENAME, SETTING_PROFILECOUNT, 1);
+ int count = db_get_w(0, SSMODULENAME, SETTING_PROFILECOUNT, 0);
if (def != 0) {
*def = db_get_w(0, SSMODULENAME, SETTING_DEFAULTPROFILE, 0);
if (*def >= count)
@@ -123,7 +123,7 @@ INT_PTR GetProfileCount(WPARAM wParam, LPARAM)
return count;
}
-wchar_t *GetStatusMessage(int profile, char *szProto)
+wchar_t* GetStatusMessage(int profile, char *szProto)
{
char dbSetting[80];
DBVARIANT dbv;