user32: Indentation fix
Andrew Talbot
andrew.talbot at talbotville.com
Fri Dec 21 13:18:48 CST 2012
Changelog:
user32: Indentation fix.
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-patches
mailing list