diff --git a/src/gui/dialogs/loading_screen.cpp b/src/gui/dialogs/loading_screen.cpp index 1c0ae1de8d21..fd3c2a39945d 100644 --- a/src/gui/dialogs/loading_screen.cpp +++ b/src/gui/dialogs/loading_screen.cpp @@ -111,7 +111,7 @@ void loading_screen::pre_show(window& window) if(work_) { worker_.reset(new boost::thread([this]() { is_worker_running_ = true; - + try { work_(); } catch(...) { @@ -203,10 +203,10 @@ loading_screen::~loading_screen() * happened because the window was closed, which is not necessarily the case (other * possibilities might be a 'dialog doesn't fit on screen' exception caused by resizing * the window). - * + * * Another approach might be to add exit points (boost::this_thread::interruption_point()) - * to the worker functions (filesystem.cpp config parsing code etc. ) and then use that to - * end the thread faster. + * to the worker functions (filesystem.cpp, config parsing code, etc.) and then use that + * to end the thread faster. */ if(is_worker_running_) { #if defined(_MSC_VER) && _MSC_VER <= 1800