Andrew Talbot : user32: Indentation fix.
Alexandre Julliard
julliard at winehq.org
Mon Dec 24 14:02:57 CST 2012
Module: wine
Branch: master
Commit: c78f8d7405a06de20b0da63c650065abf47a242e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c78f8d7405a06de20b0da63c650065abf47a242e
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Fri Dec 21 19:18:48 2012 +0000
user32: Indentation fix.
---
dlls/user32/edit.c | 10 +++++-----
dlls/user32/icontitle.c | 2 +-
dlls/user32/lstr.c | 2 +-
dlls/user32/text.c | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index c143aa6..ada313f 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -581,9 +581,9 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
cp = current_position;
while (*cp) {
if (*cp == '\n') break;
- if ((*cp == '\r') && (*(cp + 1) == '\n'))
- break;
- cp++;
+ if ((*cp == '\r') && (*(cp + 1) == '\n'))
+ break;
+ cp++;
}
/* Mark type of line termination */
@@ -789,7 +789,7 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
if ((es->style & ES_CENTER) || (es->style & ES_RIGHT))
rc.left = es->format_rect.left;
else
- rc.left = LOWORD(EDIT_EM_PosFromChar(es, nstart_index, FALSE));
+ rc.left = LOWORD(EDIT_EM_PosFromChar(es, nstart_index, FALSE));
rc.right = es->format_rect.right;
SetRectRgn(hrgn, rc.left, rc.top, rc.right, rc.bottom);
@@ -4901,7 +4901,7 @@ LRESULT EditWndProc_common( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, B
if (SendMessageW(GetParent(hwnd), CB_GETDROPPEDSTATE, 0, 0))
result |= DLGC_WANTMESSAGE;
}
- }
+ }
}
break;
diff --git a/dlls/user32/icontitle.c b/dlls/user32/icontitle.c
index 04f0c69..93c2822 100644
--- a/dlls/user32/icontitle.c
+++ b/dlls/user32/icontitle.c
@@ -222,7 +222,7 @@ LRESULT WINAPI IconTitleWndProc( HWND hWnd, UINT msg,
case WM_CLOSE:
return 0;
case WM_SHOWWINDOW:
- if (wParam) ICONTITLE_SetTitlePos( hWnd, owner );
+ if (wParam) ICONTITLE_SetTitlePos( hWnd, owner );
return 0;
case WM_ERASEBKGND:
if( GetWindowLongW( owner, GWL_STYLE ) & WS_CHILD )
diff --git a/dlls/user32/lstr.c b/dlls/user32/lstr.c
index 25a935a..a7e885a 100644
--- a/dlls/user32/lstr.c
+++ b/dlls/user32/lstr.c
@@ -164,7 +164,7 @@ BOOL WINAPI CharToOemBuffA( LPCSTR s, LPSTR d, DWORD len )
*/
BOOL WINAPI CharToOemBuffW( LPCWSTR s, LPSTR d, DWORD len )
{
- if ( !s || !d ) return TRUE;
+ if ( !s || !d ) return TRUE;
WideCharToMultiByte( CP_OEMCP, 0, s, len, d, len, NULL, NULL );
return TRUE;
}
diff --git a/dlls/user32/text.c b/dlls/user32/text.c
index 20f7798..338cba2 100644
--- a/dlls/user32/text.c
+++ b/dlls/user32/text.c
@@ -872,7 +872,7 @@ INT WINAPI DrawTextExW( HDC hdc, LPWSTR str, INT i_count,
TRACE("%s, %d, [%s] %08x\n", debugstr_wn (str, count), count,
wine_dbgstr_rect(rect), flags);
- if (dtp) TRACE("Params: iTabLength=%d, iLeftMargin=%d, iRightMargin=%d\n",
+ if (dtp) TRACE("Params: iTabLength=%d, iLeftMargin=%d, iRightMargin=%d\n",
dtp->iTabLength, dtp->iLeftMargin, dtp->iRightMargin);
if (!str) return 0;
More information about the wine-cvs
mailing list