user32: Indentation fix.
This commit is contained in:
parent
c5ce8c8e08
commit
c78f8d7405
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 )
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue