From e19d0f9124f09df0c37038d422db79d841e3763c Mon Sep 17 00:00:00 2001 From: Krow Savcik Date: Thu, 11 Jan 2024 15:17:21 +0200 Subject: 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. --- src/cdraw.c | 2 +- src/config.h | 2 +- 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[] = { -- cgit v1.2.3