1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtstyle: Coverity 88726

This commit is contained in:
Peter Howkins 2018-07-03 18:45:31 +01:00
parent c076db11de
commit 9e0cd3fe51

View file

@ -851,9 +851,10 @@ selectPaletteCB(
selected_position = cb->item_position;
tmp_palette = pHeadPalette;
while( tmp_palette->item_position != selected_position &&
tmp_palette != NULL)
while( tmp_palette != NULL &&
tmp_palette->item_position != selected_position ) {
tmp_palette = tmp_palette->next;
}
if(tmp_palette->item_position == selected_position)
{