summaryrefslogtreecommitdiff
path: root/plugins/SimpleStatusMsg
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-21 22:50:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-21 22:50:50 +0000
commit15fa9a8a6dbce8619118c9f0cea877fbf903700a (patch)
treee63fd66f3332fa62103a7a71fc043a11b3b5f1fe /plugins/SimpleStatusMsg
parentc4645924a1a945ddf1c02c60450b8b9ca0363c65 (diff)
explicit constructors for ptrT
git-svn-id: http://svn.miranda-ng.org/main/trunk@6174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleStatusMsg')
-rw-r--r--plugins/SimpleStatusMsg/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SimpleStatusMsg/src/options.cpp b/plugins/SimpleStatusMsg/src/options.cpp
index 608da025a6..948bb912e4 100644
--- a/plugins/SimpleStatusMsg/src/options.cpp
+++ b/plugins/SimpleStatusMsg/src/options.cpp
@@ -137,7 +137,7 @@ static INT_PTR CALLBACK DlgOptionsProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, L
val = db_get_b(NULL, "SimpleStatusMsg", (char *)StatusModeToDbSetting(i, "Flags"), STATUS_DEFAULT);
data->status_msg[0].flags[i - ID_STATUS_ONLINE] = val;
- ptrT text = db_get_tsa(NULL, "SRAway", StatusModeToDbSetting(i, "Default"));
+ ptrT text( db_get_tsa(NULL, "SRAway", StatusModeToDbSetting(i, "Default")));
lstrcpyn(data->status_msg[0].msg[i - ID_STATUS_ONLINE], (text == NULL) ? GetDefaultMessage(i) : text, 1024);
for (j = 0; j < accounts->count; j++)