forked from github/server
resourcenverbrauch, rundung
This commit is contained in:
parent
faa4219bbd
commit
1fc1ee5158
|
@ -1773,7 +1773,7 @@ attrib_allocation(const allocator * self, region * r, allocation * alist)
|
|||
norders -= want;
|
||||
al->get = min(al->want, (int)(x/al->save));
|
||||
if (rdata->use) {
|
||||
int use = (int)(al->get * al->save);
|
||||
int use = required(al->get, al->save);
|
||||
if (use) rdata->use(r, rtype, use);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue