mirror of https://github.com/axmolengine/axmol.git
issue #18, debug
This commit is contained in:
parent
b1c7636632
commit
35b33ba82b
|
@ -285,8 +285,7 @@ namespace cocos2d{
|
||||||
|
|
||||||
void CCMenu::alignItemsInColumns(unsigned int columns, va_list args)
|
void CCMenu::alignItemsInColumns(unsigned int columns, va_list args)
|
||||||
{
|
{
|
||||||
vector<unsigned int> rows;
|
vector<unsigned int> rows;
|
||||||
columns = va_arg(args, unsigned int);
|
|
||||||
while (columns)
|
while (columns)
|
||||||
{
|
{
|
||||||
rows.push_back(columns);
|
rows.push_back(columns);
|
||||||
|
@ -395,7 +394,6 @@ namespace cocos2d{
|
||||||
void CCMenu::alignItemsInRows(unsigned int rows, va_list args)
|
void CCMenu::alignItemsInRows(unsigned int rows, va_list args)
|
||||||
{
|
{
|
||||||
vector<unsigned int> columns;
|
vector<unsigned int> columns;
|
||||||
rows = va_arg(args, unsigned int);
|
|
||||||
while (rows)
|
while (rows)
|
||||||
{
|
{
|
||||||
columns.push_back(rows);
|
columns.push_back(rows);
|
||||||
|
|
Loading…
Reference in New Issue