diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-24 16:34:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-24 16:34:01 +0000 |
commit | e7763f7f3b14afd60864b983a309e504d1ffc560 (patch) | |
tree | 7e95651f30ec4f6f582735c4b9043ca3c1e78114 /plugins/Scriver/msgdialog.cpp | |
parent | cff526fc610fe0166b59c25bcb7730b92b481480 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@605 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/msgdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Scriver/msgdialog.cpp b/plugins/Scriver/msgdialog.cpp index a2939826da..a5bb8d92dd 100644 --- a/plugins/Scriver/msgdialog.cpp +++ b/plugins/Scriver/msgdialog.cpp @@ -179,13 +179,13 @@ int RTL_Detect(WCHAR *pszwText) infoTypeC2 = (WORD *)mir_alloc(sizeof(WORD) * (iLen + 2));
- if(infoTypeC2) {
+ if (infoTypeC2) {
ZeroMemory(infoTypeC2, sizeof(WORD) * (iLen + 2));
GetStringTypeW(CT_CTYPE2, pszwText, iLen, infoTypeC2);
for(i = 0; i < iLen; i++) {
- if(infoTypeC2[i] == C2_RIGHTTOLEFT) {
+ if (infoTypeC2[i] == C2_RIGHTTOLEFT) {
mir_free(infoTypeC2);
return 1;
}
@@ -827,7 +827,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP WindowList_Add(g_dat->hMessageWindowList, hwndDlg, dat->windowData.hContact);
if (newData->szInitialText) {
- if(newData->isWchar)
+ if (newData->isWchar)
SetDlgItemText(hwndDlg, IDC_MESSAGE, (TCHAR *)newData->szInitialText);
else
SetDlgItemTextA(hwndDlg, IDC_MESSAGE, newData->szInitialText);
@@ -1270,7 +1270,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP char buf[128];
HGLOBAL hData;
- if(dat->windowData.hContact) {
+ if (dat->windowData.hContact) {
GetContactUniqueId(dat, buf, sizeof(buf));
if (!OpenClipboard(hwndDlg) || !lstrlenA(buf)) break;
EmptyClipboard();
@@ -1780,7 +1780,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP //this is a 'send' button
if (!IsWindowEnabled(GetDlgItem(hwndDlg, IDOK)))
break;
- //if(GetKeyState(VK_CTRL) & 0x8000) { // copy user name
+ //if (GetKeyState(VK_CTRL) & 0x8000) { // copy user name
//SendMessage(hwndDlg, DM_USERNAMETOCLIP, 0, 0);
//}
if (dat->windowData.hContact != NULL) {
@@ -1850,7 +1850,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP return TRUE;
case IDC_USERMENU:
{
- if(GetKeyState(VK_SHIFT) & 0x8000) { // copy user name
+ if (GetKeyState(VK_SHIFT) & 0x8000) { // copy user name
SendMessage(hwndDlg, DM_USERNAMETOCLIP, 0, 0);
} else {
RECT rc;
|