diff options
author | George Hazan <ghazan@miranda.im> | 2020-08-31 21:22:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-08-31 21:22:45 +0300 |
commit | a37056499d9d71dcad002ddb6668ffcb15f936af (patch) | |
tree | 29d6e261a94d4551840b062a03e9853a19a34b22 /plugins/PluginUpdater/src/Options.cpp | |
parent | 038bdcc30724bf98d1ebb8a4238680e8a09e1424 (diff) |
Plugin Updater:
- folder creation moved to CreateWorkFolders();
- TFileName type added to simplify life with C types;
- code cleaning;
Diffstat (limited to 'plugins/PluginUpdater/src/Options.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp index 8cc5bf781b..0f1be8faed 100644 --- a/plugins/PluginUpdater/src/Options.cpp +++ b/plugins/PluginUpdater/src/Options.cpp @@ -314,9 +314,9 @@ static INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wPar iNewMode = UPDATE_MODE_TRUNK_SYMBOLS;
}
else {
- wchar_t tszUrl[100];
- GetDlgItemText(hwndDlg, IDC_CUSTOMURL, tszUrl, _countof(tszUrl));
- g_plugin.setWString(DB_SETTING_UPDATE_URL, tszUrl);
+ wchar_t wszUrl[100];
+ GetDlgItemText(hwndDlg, IDC_CUSTOMURL, wszUrl, _countof(wszUrl));
+ g_plugin.setWString(DB_SETTING_UPDATE_URL, wszUrl);
iNewMode = UPDATE_MODE_CUSTOM;
}
|