0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +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)
{
tl = rb_sprintf(t, "%s ", iter.cur->key);
tl = rb_sprintf(t, "%s ", entry->cap);
t += tl;
}
}