Return to utf8.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.12, 2014/10/08 17:35:58 | version 1.13, 2015/04/20 14:48:55 | ||
---|---|---|---|
|
|
||
while (*ptr != NULL) { | while (*ptr != NULL) { | ||
node = *ptr; | node = *ptr; | ||
if (item->last < node->first) | if (item->last < node->first) | ||
ptr = &(node->left); | ptr = &node->left; | ||
else if (item->first > node->last) | else if (item->first > node->last) | ||
ptr = &(node->right); | ptr = &node->right; | ||
} | } | ||
*ptr = item; | *ptr = item; | ||
} | } |