diff options
author | slotwin <slotwin@users.noreply.github.com> | 2014-06-12 20:43:30 +0000 |
---|---|---|
committer | slotwin <slotwin@users.noreply.github.com> | 2014-06-12 20:43:30 +0000 |
commit | 2bf82f155a0e98e6ab6c31a01315582f57bc9aa8 (patch) | |
tree | 24d40945c4e30b25ac64ca3ebdd0386c4757cbfd /plugins/UserInfoEx/src/psp_anniversary.cpp | |
parent | b41e007b3cc5cd3cdba4f06237d0d5ccd0585ca3 (diff) |
UserInfoEx: rearranged option pages (changed options and icons group name to make it more descriptive, changes some other titles)
proper capitalization
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@9447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/psp_anniversary.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/psp_anniversary.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/src/psp_anniversary.cpp b/plugins/UserInfoEx/src/psp_anniversary.cpp index 17a6c8b257..f22af82f76 100644 --- a/plugins/UserInfoEx/src/psp_anniversary.cpp +++ b/plugins/UserInfoEx/src/psp_anniversary.cpp @@ -33,11 +33,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. **/
static INT_PTR CALLBACK DlgProc_AnniversaryEditor(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
- MAnnivDate* pDlgEditAnniv = (MAnnivDate*)GetUserData(hDlg);
+ MAnnivDate *pDlgEditAnniv = (MAnnivDate *)GetUserData(hDlg);
switch (uMsg) {
case WM_INITDIALOG:
- pDlgEditAnniv = (MAnnivDate*)lParam;
+ pDlgEditAnniv = (MAnnivDate *)lParam;
if (!PtrIsValid(pDlgEditAnniv))
break;
@@ -77,11 +77,11 @@ static INT_PTR CALLBACK DlgProc_AnniversaryEditor(HWND hDlg, UINT uMsg, WPARAM w int len = Edit_GetTextLength(hEdit);
LPTSTR pszText;
- if (len == 0 ||
- (pszText = (LPTSTR)_alloca((len + 1) * sizeof(TCHAR))) == NULL ||
- !Edit_GetText(hEdit, pszText, len + 1))
+ if (len == 0
+ || (pszText = (LPTSTR)_alloca((len + 1) * sizeof(TCHAR))) == NULL
+ || !Edit_GetText(hEdit, pszText, len + 1))
{
- MsgErr(hDlg, LPGENT("Please enter a valid Description first!"));
+ MsgErr(hDlg, LPGENT("Please enter a valid description first!"));
break;
}
|