mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
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
1 changed files with 1 additions and 2 deletions
|
|
@ -948,8 +948,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
|
|||
int fgcolor, bgcolor;
|
||||
int flags;
|
||||
|
||||
theme = dest->window != NULL && dest->window->theme != NULL ?
|
||||
dest->window->theme : current_theme;
|
||||
theme = window_get_theme(dest->window);
|
||||
|
||||
dup = str = g_strdup(text);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue