| 672 | } |
| 673 | |
| 674 | int item_n(void) |
| 675 | { |
| 676 | int n = 0; |
| 677 | struct dialog_list *p; |
| 678 | |
| 679 | for (p = item_head; p; p = p->next) { |
| 680 | if (p == item_cur) |
| 681 | return n; |
| 682 | n++; |
| 683 | } |
| 684 | return 0; |
| 685 | } |
| 686 | |
| 687 | const char *item_str(void) |
| 688 | { |
no outgoing calls
no test coverage detected