summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-19 02:26:32 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-19 02:26:32 +0000
commit1ee25967d8c380797d3333006c482ca097cb616f (patch)
treece8c8c3e0ed28cdf5975a15a2307f552c3e8f51b /src
parentb8375d471fe245f454b1cdf15f5379fe17a1c928 (diff)
downloadirssi-1ee25967d8c380797d3333006c482ca097cb616f.zip
window_bind_remove_unsticky(): crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1246 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/fe-windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-windows.c b/src/fe-common/core/fe-windows.c
index 175c17ec..ed73a494 100644
--- a/src/fe-common/core/fe-windows.c
+++ b/src/fe-common/core/fe-windows.c
@@ -439,7 +439,7 @@ void window_bind_remove_unsticky(WINDOW_REC *window)
{
GSList *tmp, *next;
- for (tmp = window->bound_items; tmp != NULL; tmp = tmp->next) {
+ for (tmp = window->bound_items; tmp != NULL; tmp = next) {
WINDOW_BIND_REC *rec = tmp->data;
next = tmp->next;