diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2019-07-20 10:38:21 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2019-07-20 10:38:21 +0800 |
commit | c5dfeb2d3d01f9de4df9b600c3828b4cd017e8ef (patch) | |
tree | 0b93cdae45e6ae76bfd9d6b81bf0ebb0a942be39 /pango/pango-attributes.c | |
parent | ab1f84a57ff45ce318c4cd3706d71d9d6f7bb3bc (diff) | |
download | pango-c5dfeb2d3d01f9de4df9b600c3828b4cd017e8ef.tar.gz |
pango/pango-attributes.c: Trivial fix for pre-C99
Ensure that we declare variables at the top of the block.
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |