[vte] Don't shadow a global definition
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Don't shadow a global definition
- Date: Wed, 2 Feb 2011 17:46:57 +0000 (UTC)
commit 1c114685f684941e28f60b1440bc0e5effd9b770
Author: Christian Persch <chpe gnome org>
Date: Wed Feb 2 18:08:15 2011 +0100
Don't shadow a global definition
src/ring.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ring.c b/src/ring.c
index 34855b1..db4edec 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -173,7 +173,7 @@ _vte_ring_freeze_row (VteRing *ring, gulong position, const VteRowData *row)
}
static void
-_vte_ring_thaw_row (VteRing *ring, gulong position, VteRowData *row, gboolean truncate)
+_vte_ring_thaw_row (VteRing *ring, gulong position, VteRowData *row, gboolean do_truncate)
{
VteRowRecord records[2], record;
VteIntCellAttr attr;
@@ -250,7 +250,7 @@ _vte_ring_thaw_row (VteRing *ring, gulong position, VteRowData *row, gboolean tr
}
}
- if (truncate) {
+ if (do_truncate) {
if (records[0].text_offset < ring->last_attr.text_offset)
if (!_vte_stream_read (ring->attr_stream, records[0].attr_offset, (char *) &ring->last_attr, sizeof (ring->last_attr))) {
ring->last_attr.text_offset = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]