summaryrefslogtreecommitdiffstats
path: root/zoomedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zoomedit.cpp')
-rw-r--r--zoomedit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/zoomedit.cpp b/zoomedit.cpp
index a38dc3b..37b6159 100644
--- a/zoomedit.cpp
+++ b/zoomedit.cpp
@@ -1,14 +1,14 @@
#include <gtk/gtk.h>
#include <stdlib.h>
-#include "level.h"
+#include "Level.h"
#include "window.h"
+#include "edit.h"
int main(int argc, char *argv[]) {
- LEVEL *lvl = (LEVEL*)calloc(1, sizeof(LEVEL));
GtkWidget *window;
- setLevel(lvl);
+ setLevel(new Level());
gtk_init(&argc, &argv);
@@ -18,7 +18,7 @@ int main(int argc, char *argv[]) {
gtk_main();
- freeLevel(lvl);
+ delete getLevel();
return 0;
}