From 62aa12c411d4283cd11dc0a4f015ab863f48d0f8 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 1 Jun 2001 17:48:41 +0000 Subject: [PATCH] s/newline/new_line/ - AIX curses (or something) seems to use #define newline for something git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1528 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/textbuffer-view.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c index f3a74080..8ce08304 100644 --- a/src/fe-text/textbuffer-view.c +++ b/src/fe-text/textbuffer-view.c @@ -841,7 +841,7 @@ static void bookmark_check_remove(char *key, LINE_REC *line, static void view_bookmarks_check(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line) { BOOKMARK_FIND_REC rec; - LINE_REC *newline; + LINE_REC *new_line; GSList *tmp; rec.remove_line = line; @@ -852,14 +852,14 @@ static void view_bookmarks_check(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line) if (rec.remove_list != NULL) { GList *pos = g_list_find(view->buffer->lines, line); - newline = pos == NULL || pos->prev == NULL ? NULL : + new_line = pos == NULL || pos->prev == NULL ? NULL : (pos->next == NULL ? pos->prev->data : pos->next->data); for (tmp = rec.remove_list; tmp != NULL; tmp = tmp->next) { g_hash_table_remove(view->bookmarks, tmp->data); - if (newline != NULL) { + if (new_line != NULL) { g_hash_table_insert(view->bookmarks, - tmp->data, newline); + tmp->data, new_line); } } g_slist_free(rec.remove_list);