mirror of
https://github.com/matrix-construct/construct
synced 2024-12-01 19:22:53 +01:00
capability: don't use DictionaryIter internals.
it's just ugly now that we're providing our own copies of keys.
This commit is contained in:
parent
e679e38906
commit
e915e51f4d
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ capability_index_list(struct CapabilityIndex *index, unsigned int cap_mask)
|
|||
{
|
||||
if (entry->value & cap_mask)
|
||||
{
|
||||
tl = rb_sprintf(t, "%s ", iter.cur->key);
|
||||
tl = rb_sprintf(t, "%s ", entry->cap);
|
||||
t += tl;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue