diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-21 22:50:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-21 22:50:50 +0000 |
commit | 15fa9a8a6dbce8619118c9f0cea877fbf903700a (patch) | |
tree | e63fd66f3332fa62103a7a71fc043a11b3b5f1fe /plugins/PluginUpdater/src/Options.cpp | |
parent | c4645924a1a945ddf1c02c60450b8b9ca0363c65 (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/PluginUpdater/src/Options.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp index bc5be97382..30e06842cf 100644 --- a/plugins/PluginUpdater/src/Options.cpp +++ b/plugins/PluginUpdater/src/Options.cpp @@ -155,7 +155,7 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA else if ( IsDlgButtonChecked(hwndDlg, IDC_TRUNK))
db_set_s(NULL, MODNAME, "UpdateURL", DEFAULT_UPDATE_URL_TRUNK);
else if ( IsDlgButtonChecked(hwndDlg, IDC_TRUNK_SYMBOLS)) {
- ptrA oldUrl = db_get_sa(NULL, MODNAME, "UpdateURL");
+ ptrA oldUrl( db_get_sa(NULL, MODNAME, "UpdateURL"));
if (strcmp(oldUrl, DEFAULT_UPDATE_URL_TRUNK_SYMBOLS)) {
opts.bForceRedownload = true;
db_set_b(NULL, MODNAME, "ForceRedownload", 1);
|