aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrow Savcik <krow@savcik.xyz>2024-01-11 15:17:21 +0200
committerKrow Savcik <krow@savcik.xyz>2024-01-11 15:17:21 +0200
commite19d0f9124f09df0c37038d422db79d841e3763c (patch)
tree55f84f1803a422264448cfec797015c99e26a929
parentb0c749a3cba9af911df3a9776b28e84ee35230e0 (diff)
change: var def_theme_path
Changed the name for consistencty (def_theme_file -> def_theme_path). Added the variable in cdraw.c, as it wasn't use beforehand.
-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[] = {