diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-09-23 15:47:48 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-09-23 15:47:48 +0200 |
commit | 948f47de6bfcb07181a59f71ba4bc053959de8f1 (patch) | |
tree | 03c73ebd66b4197c97e07e5362194c116dd9cba0 /src/gui | |
parent | 1b11f7eb672c4c185b872e9772c1a72002a3656f (diff) | |
download | weechat-948f47de6bfcb07181a59f71ba4bc053959de8f1.zip |
Fix help of /bar command
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-bar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c index e31f84352..6bb4e018f 100644 --- a/src/gui/gui-bar.c +++ b/src/gui/gui-bar.c @@ -1830,6 +1830,9 @@ gui_bar_update (const char *name) void gui_bar_free (struct t_gui_bar *bar) { + if (!bar) + return; + /* remove bar window(s) */ if (bar->bar_window) { |