summaryrefslogtreecommitdiff
path: root/src/gui/gui-layout.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-18 16:03:16 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-18 16:03:16 +0200
commitac107802fdd508ecaa6fd44cc56d2ff1cdc3f9b6 (patch)
treea1f6a012a6d3053470616a78768272a4f35a3ddc /src/gui/gui-layout.c
parent1f10ee141ae7376675758bc9d1792346f2728c3f (diff)
downloadweechat-ac107802fdd508ecaa6fd44cc56d2ff1cdc3f9b6.zip
Aspell plugin is born again
Diffstat (limited to 'src/gui/gui-layout.c')
-rw-r--r--src/gui/gui-layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-layout.c b/src/gui/gui-layout.c
index ad89f1f56..db9985a23 100644
--- a/src/gui/gui-layout.c
+++ b/src/gui/gui-layout.c
@@ -61,9 +61,9 @@ gui_layout_buffer_remove (struct t_gui_layout_buffer *layout_buffer)
/* remove layout from list */
if (layout_buffer->prev_layout)
- layout_buffer->prev_layout->next_layout = layout_buffer->next_layout;
+ (layout_buffer->prev_layout)->next_layout = layout_buffer->next_layout;
if (layout_buffer->next_layout)
- layout_buffer->next_layout->prev_layout = layout_buffer->prev_layout;
+ (layout_buffer->next_layout)->prev_layout = layout_buffer->prev_layout;
if (gui_layout_buffers == layout_buffer)
gui_layout_buffers = layout_buffer->next_layout;
if (last_gui_layout_buffer == layout_buffer)