Skip to content

Commit

Permalink
re-fix #1146, oy, got fg/bg backward: black text, white background.
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkleinpaste committed May 21, 2024
1 parent 2df1f16 commit 8146004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/sword.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1837,8 +1837,8 @@ void main_flush_widgets_content(void)
GString *blank_html_content = g_string_new(NULL);
g_string_printf(blank_html_content,
"<html><head></head><body bgcolor=\"%s\" text=\"%s\"> </body></html>",
(settings.bible_bg_color ? settings.bible_bg_color : "0x000000"),
(settings.bible_text_color ? settings.bible_text_color : "0xFFFFFF"));
(settings.bible_bg_color ? settings.bible_bg_color : "0xFFFFFF"),
(settings.bible_text_color ? settings.bible_text_color : "0x000000"));

if (gtk_widget_get_realized(GTK_WIDGET(widgets.html_text)))
HtmlOutput(blank_html_content->str, widgets.html_text, NULL, NULL);
Expand Down

0 comments on commit 8146004

Please sign in to comment.