0
0
Fork 0
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:
William Pitcock 2012-02-04 05:13:04 -06:00
parent e679e38906
commit e915e51f4d

View file

@ -152,7 +152,7 @@ capability_index_list(struct CapabilityIndex *index, unsigned int cap_mask)
{ {
if (entry->value & cap_mask) if (entry->value & cap_mask)
{ {
tl = rb_sprintf(t, "%s ", iter.cur->key); tl = rb_sprintf(t, "%s ", entry->cap);
t += tl; t += tl;
} }
} }