1 | #include <config.h> |
---|---|
2 | #include "lst.h" |
3 | |
4 | HLSTITEM _lstNextValidItem( HLST hLst, HLSTITEM hItem ) |
5 | { |
6 | |
7 | if ( !hLst ) |
8 | return NULL; |
9 | |
10 | if ( !hItem ) |
11 | return NULL; |
12 | |
13 | hItem = hItem->pNext; |
14 | while ( hItem ) |
15 | { |
16 | if ( _lstVisible( hItem ) ) |
17 | return hItem; |
18 | |
19 | hItem = hItem->pNext; |
20 | } |
21 | |
22 | return NULL; |
23 | } |
24 | |
25 | |
26 | |
27 |