diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-01 10:21:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-01 10:21:56 +0000 |
commit | a41c9020b7fcbc4d05fcb37097177cc0efc7cdce (patch) | |
tree | 5bda74986883a9152123474152c6546547211b9d /plugins/Variables/action_variables.cpp | |
parent | 0ae8779546586eba91408d03949d45ec9ced5133 (diff) |
db_helpers.cpp deleted
git-svn-id: http://svn.miranda-ng.org/main/trunk@708 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/action_variables.cpp')
-rw-r--r-- | plugins/Variables/action_variables.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/Variables/action_variables.cpp b/plugins/Variables/action_variables.cpp index d767250578..e4d1a17aa1 100644 --- a/plugins/Variables/action_variables.cpp +++ b/plugins/Variables/action_variables.cpp @@ -139,11 +139,8 @@ INT_PTR CALLBACK DlgProcOptsParseString(HWND hwndDlg, UINT msg, WPARAM wParam, L case TM_ADDACTION: {
// wParam = action ID
// lParam = 0
- DWORD actionID;
- TCHAR *tszText;
-
- actionID = (DWORD)wParam;
- tszText = Hlp_GetDlgItemText(hwndDlg, IDC_PARSESTRING);
+ DWORD actionID = (DWORD)wParam;
+ TCHAR *tszText = Hlp_GetDlgItemText(hwndDlg, IDC_PARSESTRING);
if (tszText != NULL) {
DBWriteActionSettingTString(actionID, NULL, MODULENAME, SETTING_PARSESTRING, tszText);
mir_free(tszText);
|