Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hbuf.c @ 393:f8f3c7493457
Whitespace cleanup
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 04 Aug 2005 23:04:54 +0100 |
parents | 6329c9601704 |
children | d580e87c11ed |
comparison
equal
deleted
inserted
replaced
392:6329c9601704 | 393:f8f3c7493457 |
---|---|
1 /* | 1 /* |
2 * hbuf.c -- History buffer implementation | 2 * hbuf.c -- History buffer implementation |
3 * | 3 * |
4 * Copyright (C) 2005 Mikael Berthe <bmikael@lists.lilotux.net> | 4 * Copyright (C) 2005 Mikael Berthe <bmikael@lists.lilotux.net> |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License as published by | 7 * it under the terms of the GNU General Public License as published by |
8 * the Free Software Foundation; either version 2 of the License, or (at | 8 * the Free Software Foundation; either version 2 of the License, or (at |
180 // Is next line not-persistent? | 180 // Is next line not-persistent? |
181 if (!(hbuf_b_next->flags & HBB_FLAG_PERSISTENT)) { | 181 if (!(hbuf_b_next->flags & HBB_FLAG_PERSISTENT)) { |
182 hbuf_b_curr->ptr_end = hbuf_b_next->ptr_end; | 182 hbuf_b_curr->ptr_end = hbuf_b_next->ptr_end; |
183 g_free(hbuf_b_next); | 183 g_free(hbuf_b_next); |
184 g_list_delete_link(curr_elt, next_elt); | 184 g_list_delete_link(curr_elt, next_elt); |
185 } else | 185 } else |
186 curr_elt = next_elt; | 186 curr_elt = next_elt; |
187 } | 187 } |
188 // #2 Go back to head and create non-persistent blocks when needed | 188 // #2 Go back to head and create non-persistent blocks when needed |
189 if (width) { | 189 if (width) { |
190 char *line, *end; | 190 char *line, *end; |