aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-06-23 18:10:27 +0200
committerNRK <nrk@disroot.org>2023-06-23 18:10:27 +0200
commit6185bcb441ac6c2f5c1e94c5f15e9dd678418e56 (patch)
treea6372ce22722f47236f492cf37cbaa9449468809 /config.def.h
parent3097037624881791cc544d0d0dab384a2af43bf6 (diff)
downloadnsxiv-6185bcb441ac6c2f5c1e94c5f15e9dd678418e56.tar.zst
config.h: allow all values to be NULL
might as well make things consistent instead of having certain values that can be NULL and certain that cannot. some of the default values are still kept in config.h for example reasons.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index c49a5eb..7fbfb17 100644
--- a/config.def.h
+++ b/config.def.h
@@ -6,13 +6,13 @@ static const int WIN_HEIGHT = 600;
/* colors and font can be overwritten via X resource properties.
* See nsxiv(1), X(7) section Resources and xrdb(1) for more information.
- * X resource default value */
+ * X resource value (NULL == default) */
static const char *WIN_BG[] = { "Nsxiv.window.background", "white" };
static const char *WIN_FG[] = { "Nsxiv.window.foreground", "black" };
-static const char *MARK_FG[] = { "Nsxiv.mark.foreground", NULL }; /* NULL means it will default to window foreground */
+static const char *MARK_FG[] = { "Nsxiv.mark.foreground", NULL };
#if HAVE_LIBFONTS
-static const char *BAR_BG[] = { "Nsxiv.bar.background", NULL }; /* NULL means it will default to window background */
-static const char *BAR_FG[] = { "Nsxiv.bar.foreground", NULL }; /* NULL means it will default to window foreground */
+static const char *BAR_BG[] = { "Nsxiv.bar.background", NULL };
+static const char *BAR_FG[] = { "Nsxiv.bar.foreground", NULL };
static const char *BAR_FONT[] = { "Nsxiv.bar.font", "monospace-8" };
/* if true, statusbar appears on top of the window */