Skip to content

Commit fd9e2eb

Browse files
xmine64binarymaster
authored andcommitted
[USER32] Revert "Fix caret and scroll position in edit controls"
This commit reverts 1ae2bf2 which is not needed anymore as WINE already fixed CORE-15780 and it's included in a previous sync. CORE-20850
1 parent 804d403 commit fd9e2eb

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • win32ss/user/user32/controls

‎win32ss/user/user32/controls/edit.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,11 +1151,7 @@ static LRESULT EDIT_EM_PosFromChar(EDITSTATE *es, INT index, BOOL after_wrap)
11511151
x -= es->x_offset;
11521152
}
11531153
else
1154-
#ifdef __REACTOS__ /* CORE-15780 */
1155-
x = (lw > 0 ? es->x_offset : x - es->x_offset);
1156-
#else
11571154
x = es->x_offset;
1158-
#endif
11591155

11601156
if (es->style & ES_RIGHT)
11611157
x = w - (lw - x);

0 commit comments

Comments
 (0)