diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-19 14:52:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-19 14:52:53 +0000 |
commit | 54dec7a74c313ee61437386bd667f9a7653351fd (patch) | |
tree | 81aaf9bf469838735392a81ed3edfc3b3bd7481f /plugins/Clist_nicer/SRC/statusfloater.cpp | |
parent | 03dd87df0b288fd0f0f512fb0bbff29e8c00f366 (diff) |
fixes for the options page translation
git-svn-id: http://svn.miranda-ng.org/main/trunk@479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/SRC/statusfloater.cpp')
-rw-r--r-- | plugins/Clist_nicer/SRC/statusfloater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/SRC/statusfloater.cpp b/plugins/Clist_nicer/SRC/statusfloater.cpp index 860241afa6..d07196ee16 100644 --- a/plugins/Clist_nicer/SRC/statusfloater.cpp +++ b/plugins/Clist_nicer/SRC/statusfloater.cpp @@ -243,7 +243,7 @@ INT_PTR CALLBACK DlgProcFloatingContacts(HWND hwndDlg, UINT msg, WPARAM wParam, Utils::enableDlgControl(hwndDlg, IDC_FLT_SHOWTOOLTIPS, 0);
}
- for(i = 0; padctrlIDs[i] != 0; i++)
+ for (i = 0; padctrlIDs[i] != 0; i++)
SendDlgItemMessage(hwndDlg, padctrlIDs[i], UDM_SETRANGE, 0, MAKELONG(20, 0));
SendDlgItemMessage(hwndDlg, IDC_FLT_WIDTHSPIN, UDM_SETRANGE, 0, MAKELONG(200, 50));
SendDlgItemMessage(hwndDlg, IDC_FLT_RADIUSSPIN, UDM_SETRANGE, 0, MAKELONG(20, 1));
@@ -897,7 +897,7 @@ void SFL_SetSize() hdc = GetDC(g_hwndSFL);
oldFont = reinterpret_cast<HFONT>(SelectObject(hdc, GetStockObject(DEFAULT_GUI_FONT)));
- for(i = ID_STATUS_OFFLINE; i <= ID_STATUS_OUTTOLUNCH; i++) {
+ for (i = ID_STATUS_OFFLINE; i <= ID_STATUS_OUTTOLUNCH; i++) {
szStatusMode = Translate((char *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, (WPARAM)i, 0));
GetTextExtentPoint32A(hdc, szStatusMode, lstrlenA(szStatusMode), &sz);
lWidth = max(lWidth, sz.cx + 16 + 8);
|