allpy
changeset 844:2ab571ea8101
blocks3d/wt: fix a typo in variable name
current_taks -> current_tasks
author | boris <bnagaev@gmail.com> |
---|---|
date | Wed, 20 Jul 2011 02:46:23 +0200 |
parents | 3a712982ceb8 |
children | db735101e9b0 |
files | blocks3d/wt/blocks3d-wt-widget.C |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/blocks3d/wt/blocks3d-wt-widget.C Wed Jul 20 02:42:04 2011 +0200 1.2 +++ b/blocks3d/wt/blocks3d-wt-widget.C Wed Jul 20 02:46:23 2011 +0200 1.3 @@ -20,7 +20,7 @@ 1.4 #include <Wt/WAnchor> 1.5 #include <Wt/WFileResource> 1.6 1.7 -std::vector<std::string> current_taks; 1.8 +std::vector<std::string> current_tasks; 1.9 1.10 Blocks3DWidget::Blocks3DWidget(Wt::WContainerWidget* parent) : 1.11 Wt::WContainerWidget(parent), 1.12 @@ -189,8 +189,8 @@ 1.13 1.14 void Blocks3DWidget::try_to_run() 1.15 { 1.16 - std::remove_if(current_taks.begin(), current_taks.end(), &Blocks3DWidget::is_completed); 1.17 - if (current_taks.size() >= Malakite::max_simultaneous_tasks) 1.18 + std::remove_if(current_tasks.begin(), current_tasks.end(), &Blocks3DWidget::is_completed); 1.19 + if (current_tasks.size() >= Malakite::max_simultaneous_tasks) 1.20 { 1.21 new Wt::WBreak(results_panel); 1.22 new Wt::WText(tr("server_overloaded"), results_panel); 1.23 @@ -298,7 +298,7 @@ 1.24 timer->start(); 1.25 go_button->hide(); 1.26 1.27 - current_taks.push_back(tempfile_check); 1.28 + current_tasks.push_back(tempfile_check); 1.29 } 1.30 1.31 void Blocks3DWidget::timeout()