Fix a mistake in the lua resize() method of BitArray.

develop
Alexander Gavrilov 2014-04-04 22:33:05 +04:00
parent eac126c884
commit 788bc55096
1 changed files with 1 additions and 1 deletions

@ -390,7 +390,7 @@ namespace df
}
virtual bool resize(void *ptr, int size) {
((container*)ptr)->resize(size*8);
((container*)ptr)->resize((size+7)/8);
return true;
}