summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_edit.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-28 14:55:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-28 14:55:49 +0000
commit056d2be888a4235a109a123b7b2a715aa3ff72ba (patch)
treeb1956081bb951f44ced81414db7656a832613b71 /plugins/UserInfoEx/src/ctrl_edit.cpp
parent5f03619d3bbda7a617f50ded2698cffc434dd525 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4225 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_edit.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_edit.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_edit.cpp b/plugins/UserInfoEx/src/ctrl_edit.cpp
index 7bd5491c1c..bbe614247d 100644
--- a/plugins/UserInfoEx/src/ctrl_edit.cpp
+++ b/plugins/UserInfoEx/src/ctrl_edit.cpp
@@ -82,7 +82,7 @@ CEditCtrl::CEditCtrl(HWND hDlg, WORD idCtrl, LPCSTR pszModule, LPCSTR pszSetting
*
* @return nothing
**/
-VOID CEditCtrl::Release()
+void CEditCtrl::Release()
{
delete this;
}
@@ -91,7 +91,7 @@ VOID CEditCtrl::Release()
*
*
*/
-VOID CEditCtrl::OnReset()
+void CEditCtrl::OnReset()
{
}
@@ -165,7 +165,7 @@ BOOL CEditCtrl::OnInfoChanged(HANDLE hContact, LPCSTR pszProto)
*
* @return nothing
**/
-VOID CEditCtrl::OnApply(HANDLE hContact, LPCSTR pszProto)
+void CEditCtrl::OnApply(HANDLE hContact, LPCSTR pszProto)
{
if (_Flags.B.hasChanged)
{
@@ -244,7 +244,7 @@ VOID CEditCtrl::OnApply(HANDLE hContact, LPCSTR pszProto)
*
* @return nothing
**/
-VOID CEditCtrl::OnChangedByUser(WORD wChangedMsg)
+void CEditCtrl::OnChangedByUser(WORD wChangedMsg)
{
if ((wChangedMsg == EN_UPDATE) || (wChangedMsg == EN_CHANGE))
{
@@ -254,7 +254,7 @@ VOID CEditCtrl::OnChangedByUser(WORD wChangedMsg)
_Flags.B.hasCustom = (cch > 0);
if (!_Flags.B.hasChanged && _Flags.B.hasCustom) {
- BOOLEAN need_free = 0;
+ BYTE need_free = 0;
LPTSTR szText;
__try
@@ -285,11 +285,11 @@ VOID CEditCtrl::OnChangedByUser(WORD wChangedMsg)
/**
* Opens the url given in a editbox in the users default browser
**/
-VOID CEditCtrl::OpenUrl()
+void CEditCtrl::OpenUrl()
{
- INT lenUrl = 1 + Edit_GetTextLength(_hwnd);
+ int lenUrl = 1 + Edit_GetTextLength(_hwnd);
LPSTR szUrl;
- BOOLEAN need_free = 0;
+ BYTE need_free = 0;
__try
{
@@ -326,7 +326,7 @@ LRESULT CEditCtrl::LinkNotificationHandler(ENLINK* lnk)
if (lnk)
{
TEXTRANGE tr;
- BOOLEAN need_free = 0;
+ BYTE need_free = 0;
// do not call function if user selected some chars of the url string
SendMessage(_hwnd, EM_EXGETSEL, NULL, (LPARAM) &tr.chrg);