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;
|
cp = current_position;
|
||||||
while (*cp) {
|
while (*cp) {
|
||||||
if (*cp == '\n') break;
|
if (*cp == '\n') break;
|
||||||
if ((*cp == '\r') && (*(cp + 1) == '\n'))
|
if ((*cp == '\r') && (*(cp + 1) == '\n'))
|
||||||
break;
|
break;
|
||||||
cp++;
|
cp++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mark type of line termination */
|
/* 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))
|
if ((es->style & ES_CENTER) || (es->style & ES_RIGHT))
|
||||||
rc.left = es->format_rect.left;
|
rc.left = es->format_rect.left;
|
||||||
else
|
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;
|
rc.right = es->format_rect.right;
|
||||||
SetRectRgn(hrgn, rc.left, rc.top, rc.right, rc.bottom);
|
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))
|
if (SendMessageW(GetParent(hwnd), CB_GETDROPPEDSTATE, 0, 0))
|
||||||
result |= DLGC_WANTMESSAGE;
|
result |= DLGC_WANTMESSAGE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -222,7 +222,7 @@ LRESULT WINAPI IconTitleWndProc( HWND hWnd, UINT msg,
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
return 0;
|
return 0;
|
||||||
case WM_SHOWWINDOW:
|
case WM_SHOWWINDOW:
|
||||||
if (wParam) ICONTITLE_SetTitlePos( hWnd, owner );
|
if (wParam) ICONTITLE_SetTitlePos( hWnd, owner );
|
||||||
return 0;
|
return 0;
|
||||||
case WM_ERASEBKGND:
|
case WM_ERASEBKGND:
|
||||||
if( GetWindowLongW( owner, GWL_STYLE ) & WS_CHILD )
|
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 )
|
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 );
|
WideCharToMultiByte( CP_OEMCP, 0, s, len, d, len, NULL, NULL );
|
||||||
return TRUE;
|
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,
|
TRACE("%s, %d, [%s] %08x\n", debugstr_wn (str, count), count,
|
||||||
wine_dbgstr_rect(rect), flags);
|
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);
|
dtp->iTabLength, dtp->iLeftMargin, dtp->iRightMargin);
|
||||||
|
|
||||||
if (!str) return 0;
|
if (!str) return 0;
|
||||||
|
|
Loading…
Reference in New Issue