user32/dialog.c: GetNextDlgTabItem returns hwndDlg if next item not found

Dmitry Timoshkov dmitry at codeweavers.com
Mon Apr 5 04:44:12 CDT 2010


"Mikhail Maroukhine" <mikolg at connectivegames.com> wrote:

> user32/dialog.c: GetNextDlgTabItem returns hwndDlg if next item not found
> Behavior checked on Windows XP

Please add a test case for this.

> +    return retWnd ? retWnd : (hwndCtrl ? hwndCtrl : hwndDlg);

Using an 'if' case would be more readable IMO.

-- 
Dmitry.



More information about the wine-devel mailing list