user32: Avoid using the comma operator in a while condition.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a6becd791f
commit
da943f2c08
|
@ -1582,9 +1582,9 @@ HWND WINAPI GetNextDlgGroupItem( HWND hwndDlg, HWND hwndCtrl, BOOL fPrevious )
|
|||
*/
|
||||
retvalue = hwndCtrl;
|
||||
hwnd = hwndCtrl;
|
||||
while (hwndNext = GetWindow (hwnd, GW_HWNDNEXT),
|
||||
1)
|
||||
while (1)
|
||||
{
|
||||
hwndNext = GetWindow (hwnd, GW_HWNDNEXT);
|
||||
while (!hwndNext)
|
||||
{
|
||||
/* Climb out until there is a next sibling of the ancestor or we
|
||||
|
|
Loading…
Reference in New Issue