summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-15 18:04:26 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-15 18:04:26 +0000
commit91dd615dac22bf465267e5e3ce145a8da81541d8 (patch)
treec97fb0261010e3596daac06e00f9c1937e818185 /src/gui/updatewindow.cpp
parent37c4ff1d8c00c2215d0feeaa6ba0d86b9916e3af (diff)
downloadmana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.gz
mana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.bz2
mana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.xz
mana-91dd615dac22bf465267e5e3ce145a8da81541d8.zip
Fixed issue where the player stops walking.v0.0.22.1
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index 628082d0..99c09baa 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -138,7 +138,7 @@ void UpdaterWindow::action(const gcn::ActionEvent &event)
if (event.getId() == "cancel")
{
// Register the user cancel
- mUserCancel=true;
+ mUserCancel = true;
// Skip the updating process
if (mDownloadStatus == UPDATE_COMPLETE)
{
@@ -372,13 +372,13 @@ void UpdaterWindow::logic()
case UPDATE_ERROR:
if (mThread)
{
- if(mUserCancel){
+ if (mUserCancel) {
// Kill the thread, because user has canceled
SDL_KillThread(mThread);
// Set the flag to false again
mUserCancel = false;
}
- else{
+ else {
SDL_WaitThread(mThread, NULL);
}
mThread = NULL;