diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2009-01-10 17:57:38 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2009-01-10 17:57:38 +0000 |
commit | b9cbba2ae2601ec2252203afc403728566748f0d (patch) | |
tree | 292c248b0103b97084a84df467a2ed2c98eff151 /src | |
parent | 5b4e05c55366ab66a4d75c09ed7a9ad45fb8f194 (diff) | |
download | irssi-b9cbba2ae2601ec2252203afc403728566748f0d.zip |
Use window_get_theme.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4980 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/formats.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c index 02e6c453..a953a1a7 100644 --- a/src/fe-common/core/formats.c +++ b/src/fe-common/core/formats.c @@ -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); |