summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCedric Borgese <cedric.borgese@gmail.com>2005-07-19 16:57:05 +0000
committerCedric Borgese <cedric.borgese@gmail.com>2005-07-19 16:57:05 +0000
commit025a25afacc724ea41d0856822f748925c763054 (patch)
treea83976e97db7adba5f298def4bf7f58c39e67ed6 /src/main.cpp
parentf3c21ab9c33ef60362eff046b97b886f3f2bd26f (diff)
downloadmana-025a25afacc724ea41d0856822f748925c763054.tar.gz
mana-025a25afacc724ea41d0856822f748925c763054.tar.bz2
mana-025a25afacc724ea41d0856822f748925c763054.tar.xz
mana-025a25afacc724ea41d0856822f748925c763054.zip
Rewrite UpdaterWindow in a more object oriented style.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 908be46a..7cc83be5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -439,7 +439,9 @@ int main(int argc, char *argv[])
graphics->updateScreen();
break;
case UPDATE:
- updateData();
+ UpdaterWindow *uw = new UpdaterWindow();
+ uw->updateData();
+ delete uw;
break;
default:
state = EXIT;