2 Feb
2022
2 Feb
'22
8:03 a.m.
On Tue, Feb 01, 2022 at 02:05:45PM +0100, Eric Pouech wrote:
case EM_GETSEL: { /* Note: wParam/lParam can be NULL */ - UINT from, to; - PUINT pfrom = wParam ? (PUINT)wParam : &from; - PUINT pto = lParam ? (PUINT)lParam : &to; - ME_GetSelectionOfs(editor, (int *)pfrom, (int *)pto); + LONG from, to; + PLONG pfrom = wParam ? (PLONG)wParam : &from; + PLONG pto = lParam ? (PLONG)lParam : &to;
Please avoid PLONG, PULONG, etc. Also, please format the commit message correctly (no leading "dlls/" or "programs/", and a capital letter after the ':') - take a look a what Alexandre actually commits. I've sent in v2 of this patch and the ole32 one. Thanks, Huw.