(minor: formatting)

partial-rewrite
Ben Blazak 2013-07-22 16:31:47 -07:00
parent b5ffe83a38
commit a05c0e42bd
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@ static uint8_t resize_stack(void) {
return 0; // nothing to do
uint8_t new_allocated;
if (unused_max >= (MIN_UNUSED + MAX_UNUSED) / 2)
new_allocated = stack.filled + (MIN_UNUSED + MAX_UNUSED) / 2;
if ( unused_max >= (MIN_UNUSED+MAX_UNUSED)/2 )
new_allocated = stack.filled + (MIN_UNUSED+MAX_UNUSED)/2;
else if (unused_max >= MIN_UNUSED)
new_allocated = UINT8_MAX;
else