aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cdraw.c2
-rw-r--r--src/config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cdraw.c b/src/cdraw.c
index 5f3a1b5..5b67c5e 100644
--- a/src/cdraw.c
+++ b/src/cdraw.c
@@ -90,7 +90,7 @@ main_window_init(const char *s)
if (def_palette == NULL)
return 1;
- ui_create("assets/ui.png");
+ ui_create(def_theme_path);
if (s == NULL)
cur_canvas = canvas_init(64, 64, ren);
else {
diff --git a/src/config.h b/src/config.h
index e1a954a..f224a64 100644
--- a/src/config.h
+++ b/src/config.h
@@ -3,7 +3,7 @@
const unsigned int maxzoom = 20;
const unsigned int fps = 30;
const char *def_palette_path = "assets/default.gpl";
-const char *def_theme_file = "assets/ui.png";
+const char *def_theme_path = "assets/ui.png";
const unsigned int back_c = COLTOINT(146, 161, 185);
static Key keys[] = {