summaryrefslogtreecommitdiffstats
path: root/tests/test_client_tree.c
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-11-25 10:50:00 +0400
committerAnton <anton@picapica.im>2026-11-25 10:50:00 +0400
commit0f5ba1062894ad2cd19f79b4f8434ffbb78b9e32 (patch)
tree9a1da1a0f49dc9d9fc9545cc451d2e49a8f126a5 /tests/test_client_tree.c
parent4b1372eae2dba25f92de84a497983961d1d46b70 (diff)
downloadpica-pica-0f5ba1062894ad2cd19f79b4f8434ffbb78b9e32.tar.gz
pica-pica-0f5ba1062894ad2cd19f79b4f8434ffbb78b9e32.zip
use English everywhere in the comments
Diffstat (limited to 'tests/test_client_tree.c')
-rw-r--r--tests/test_client_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_client_tree.c b/tests/test_client_tree.c
index 81076f8..e343234 100644
--- a/tests/test_client_tree.c
+++ b/tests/test_client_tree.c
@@ -120,7 +120,7 @@ void client_tree_print(struct client *c)
void client_tree_remove(struct client* ci)
{
- struct client** p_link;//указывает на left или right в родительском узле
+ struct client** p_link;//points to left or right in the parent node
if (!ci->up)
{
@@ -159,7 +159,7 @@ void client_tree_remove(struct client* ci)
{
struct client *lm;
lm = ci->right;
- while(lm->left) lm = lm->left; //поиск самого левого узла правого поддерева
+ while(lm->left) lm = lm->left; //find the leftmost node of the right subtree
if (lm != ci->right)
{