From: Paul Cornett Date: Sat, 9 Dec 2006 19:49:40 +0000 (+0000) Subject: indentation fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/164e8d41ae8f7ca86fe4a39cef8fae8dd103bb29?hp=d19ebfaa43dcb4e2542ed41de2fc73d88b7c2be6 indentation fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/clipbrd.cpp b/src/msw/clipbrd.cpp index ee67b677fd..4a1518b0ff 100644 --- a/src/msw/clipbrd.cpp +++ b/src/msw/clipbrd.cpp @@ -555,10 +555,10 @@ void wxClipboard::Clear() if (S_OK == hr) { hr = OleSetClipboard(NULL); - if ( FAILED(hr) ) - { - wxLogApiError(wxT("OleSetClipboard(NULL)"), hr); - } + if ( FAILED(hr) ) + { + wxLogApiError(wxT("OleSetClipboard(NULL)"), hr); + } } m_lastDataObject = NULL; } @@ -576,14 +576,14 @@ bool wxClipboard::Flush() if (S_OK == hr) { hr = OleFlushClipboard(); - if ( FAILED(hr) ) - { - wxLogApiError(wxT("OleFlushClipboard"), hr); + if ( FAILED(hr) ) + { + wxLogApiError(wxT("OleFlushClipboard"), hr); - return false; - } - return true; - } + return false; + } + return true; + } } return false; #else // !wxUSE_OLE_CLIPBOARD diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 5534e9ecd9..5fa73ec644 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -262,7 +262,7 @@ public: if ( m_nativeFontInfoOk ) return m_nativeFontInfo.SetFaceName(faceName); - m_faceName = faceName; + m_faceName = faceName; return true; } diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 1f2237b980..6f3a70e136 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1893,7 +1893,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) } else #endif // defined(HDN_BEGINTRACKA) - if ( nmhdr->hwndFrom == GetHwnd() ) + if ( nmhdr->hwndFrom == GetHwnd() ) { // almost all messages use NM_LISTVIEW NM_LISTVIEW *nmLV = (NM_LISTVIEW *)nmhdr;