about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorzymayunyan <131338267+zymayunyan@users.noreply.github.com>2024-10-31 16:21:52 +0800
committerGitHub <noreply@github.com>2024-10-31 09:21:52 +0100
commited99f5e6d2ef916c4cf746357ad58367c683f522 (patch)
treef9ccdb6d19be38f6969a6a31be33312614b88335 /src/tools
parent7d1bf95d93d252e44beb0fa74d80d910edc65bda (diff)
downloadbox64-ed99f5e6d2ef916c4cf746357ad58367c683f522.tar.gz
box64-ed99f5e6d2ef916c4cf746357ad58367c683f522.zip
[rebree]The name of rbtree is set error. (#1984)
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/rbtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rbtree.c b/src/tools/rbtree.c
index 211a1a4a..90574148 100644
--- a/src/tools/rbtree.c
+++ b/src/tools/rbtree.c
@@ -35,7 +35,7 @@ rbtree* init_rbtree(const char* name) {
     rbtree* tree = rbtreeMalloc(sizeof(rbtree));
     tree->root = NULL;
     tree->is_unstable = 0;
-    tree->name = name?"(rbtree)":name;
+    tree->name = name?name:"(rbtree)";
     return tree;
 }