removed extra "." from TextScroller text as reported in forums
following up on wrenczes cleanup, changing ints to floats fixing calculations such as ( 16.0 / <some float>) to ( 16.0f / <some float>) to remove compiler warnings.
This commit is contained in:
@@ -228,7 +228,7 @@ void DeckMenu::updateScroller()
|
||||
for (vector<Task*>::iterator it = taskList->tasks.begin(); it!=taskList->tasks.end(); it++)
|
||||
{
|
||||
ostringstream taskDescription;
|
||||
taskDescription << "[ " << setw(4) << (*it)->getReward() << " / " << (*it)->getExpiration() << " ] " << (*it)->getDesc() << ". " << endl;
|
||||
taskDescription << "[ " << setw(4) << (*it)->getReward() << " / " << (*it)->getExpiration() << " ] " << (*it)->getDesc() << endl;
|
||||
scroller->Add( taskDescription.str() );
|
||||
}
|
||||
SAFE_DELETE(taskList);
|
||||
|
||||
Reference in New Issue
Block a user