On Thu, Jul 4, 2019 at 7:46 PM Fabian Maurer <dark.shadow4@web.de> wrote:
Any news on this patchset?

@@ -1102,7 +1102,7 @@ static LRESULT EDIT_EM_PosFromChar(EDITSTATE *es, INT index, BOOL after_wrap)
 			x -= es->x_offset;
 		}
 		else
-			x = es->x_offset;
+			x = (lw > 0 ? es->x_offset : -es->x_offset);

 		if (es->style & ES_RIGHT)
 			x = w - (lw - x);
How to trigger this alternate path which is !ssa && lw > 0? In other words, do we have tests for both cases of that else branch.
 


Regards,
Fabian Maurer