From 5e35458e4e97ac7f885602cb59156601426fc47c Mon Sep 17 00:00:00 2001 From: Jackson Law <178053+jlaw@users.noreply.github.com> Date: Fri, 17 Apr 2020 14:36:42 -0700 Subject: [PATCH] fix: XResource assignment typo --- dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenu.c b/dmenu.c index 920fa52..2bd69c2 100644 --- a/dmenu.c +++ b/dmenu.c @@ -750,7 +750,7 @@ read_Xresources(void) { if (XrmGetResource(xdb, "dmenu.font", "*", &type, &xval) == True) /* font or font set */ fonts[0] = strdup(xval.addr); if (XrmGetResource(xdb, "dmenu.color0", "*", &type, &xval) == True) /* normal background color */ - colors[SchemeSel][ColBg] = strdup(xval.addr); + colors[SchemeNorm][ColBg] = strdup(xval.addr); if (XrmGetResource(xdb, "dmenu.color7", "*", &type, &xval) == True) /* normal foreground color */ colors[SchemeNorm][ColFg] = strdup(xval.addr); if (XrmGetResource(xdb, "dmenu.color6", "*", &type, &xval) == True) /* selected background color */