Skip to content

Commit db58a4e

Browse files
committed
bugfix
1 parent b86097a commit db58a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/c/pgf/namespace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,8 @@ ref<V> namespace_lookup_index(Namespace<V> map, PgfText *name, size_t *pIndex)
615615
if (cmp < 0) {
616616
map = map->left;
617617
} else if (cmp > 0) {
618-
map = map->right;
619618
*pIndex += Node<ref<V>>::size(map->left)+1;
619+
map = map->right;
620620
} else {
621621
*pIndex += Node<ref<V>>::size(map->left);
622622
return map->value;

0 commit comments

Comments
 (0)