[pango/pango-attributes-pre-c99] pango/pango-attributes.c: Trivial fix for pre-C99
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango-attributes-pre-c99] pango/pango-attributes.c: Trivial fix for pre-C99
- Date: Sat, 20 Jul 2019 02:39:38 +0000 (UTC)
commit c5dfeb2d3d01f9de4df9b600c3828b4cd017e8ef
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Sat Jul 20 10:38:21 2019 +0800
pango/pango-attributes.c: Trivial fix for pre-C99
Ensure that we declare variables at the top of the block.
pango/pango-attributes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 17549ffd..894555d1 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1636,8 +1636,8 @@ pango_attr_list_update (PangoAttrList *list,
l = list->attributes;
while (l)
{
- next = l->next;
PangoAttribute *attr = l->data;
+ next = l->next;
if (attr->start_index >= pos &&
attr->end_index < pos + remove)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]