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:
parent
c076db11de
commit
9e0cd3fe51
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue