forked from PsychoticNinja/irssi
Use window_get_theme.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4980 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5b4e05c553
commit
b9cbba2ae2
@ -948,8 +948,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
|
|||||||
int fgcolor, bgcolor;
|
int fgcolor, bgcolor;
|
||||||
int flags;
|
int flags;
|
||||||
|
|
||||||
theme = dest->window != NULL && dest->window->theme != NULL ?
|
theme = window_get_theme(dest->window);
|
||||||
dest->window->theme : current_theme;
|
|
||||||
|
|
||||||
dup = str = g_strdup(text);
|
dup = str = g_strdup(text);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user