diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-12-02 00:43:02 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-12-02 00:43:02 +0300 |
commit | 8ad91f63bd6671b8ec95ab68c1740b63235cf2be (patch) | |
tree | 93e3d207a0ef3d1e276fbcdca0963b00b78ff028 /plugins/New_GPG/src/messages.cpp | |
parent | 457b95fe98b0c515b973958f4d45585e2590915f (diff) |
new_gpg: dos2unix //deal with it.
Diffstat (limited to 'plugins/New_GPG/src/messages.cpp')
-rwxr-xr-x | plugins/New_GPG/src/messages.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp index 4c30f3668b..ab44c30e01 100755 --- a/plugins/New_GPG/src/messages.cpp +++ b/plugins/New_GPG/src/messages.cpp @@ -1028,17 +1028,17 @@ public: chk_DEFAULT_PASSWORD.Disable(); } } - virtual void OnClose() override
- {
- DestroyWindow(m_hwnd);
- }
- virtual void OnDestroy() override
- {
- mir_free(inkeyid);
+ virtual void OnClose() override + { + DestroyWindow(m_hwnd); + } + virtual void OnDestroy() override + { + mir_free(inkeyid); GetWindowRect(m_hwnd, &key_password_rect); db_set_dw(NULL, szGPGModuleName, "PasswordWindowX", key_password_rect.left); db_set_dw(NULL, szGPGModuleName, "PasswordWindowY", key_password_rect.top); - delete this;
+ delete this; } void onClick_OK(CCtrlButton*) { |