win32ss/user/user32/controls/edit.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/win32ss/user/user32/controls/edit.c b/win32ss/user/user32/controls/edit.c index 7ea2eb6d3e8..f0142275323 100644 --- a/win32ss/user/user32/controls/edit.c +++ b/win32ss/user/user32/controls/edit.c @@ -1153,11 +1153,7 @@ static LRESULT EDIT_EM_PosFromChar(EDITSTATE *es, INT index, BOOL after_wrap) w = es->format_rect.right - es->format_rect.left; if (line_def->ssa) ScriptStringCPtoX(line_def->ssa, (index - 1) - li, TRUE, &x); -#ifdef __REACTOS__ /* CORE-15780 */ - x = (lw > 0 ? es->x_offset : x - es->x_offset); -#else x -= es->x_offset; -#endif if (es->style & ES_RIGHT) x = w - (lw - x);