shithub: vdict

Download patch

ref: d2b51b153b7015614fda04bf30bee42afdbac230
parent: 815fa1c7a7f469e01c594d0c4b570972d0db76df
author: phil9 <telephil9@gmail.com>
date: Tue Mar 22 18:08:38 EDT 2022

fix use of /dev/theme

--- a/vdict.c
+++ b/vdict.c
@@ -101,7 +101,7 @@
 
 	cols = emalloc(sizeof *cols);
 	theme = loadtheme();
-	if(theme == nil){
+	if(theme != nil){
 		cols->back  = theme->back;
 		cols->text  = theme->text;
 		cols->focus = theme->title;