summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-11-08 22:56:31 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-11-08 22:56:31 +0000
commit9b3b27054c469af0c87a8e0ca9a8ccebb0739a3c (patch)
tree39322c057d674ea9d63bbd4adeeccbd39088c136
parent7a6d7022f2ba0a90dd127f3a0bbf95377c0c7562 (diff)
downloadpango-9b3b27054c469af0c87a8e0ca9a8ccebb0739a3c.tar.gz
Bug 495091 – pango-utils.c:variable is declared at middle of block
2007-11-08 Behdad Esfahbod <behdad@gnome.org> Bug 495091 – pango-utils.c:variable is declared at middle of block * pango/pango-utils.c (read_builtin_aliases): Move variable declaraction before code. svn path=/trunk/; revision=2496
-rw-r--r--ChangeLog7
-rw-r--r--pango/pango-utils.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 76413f5e..1ff0d858 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-08 Behdad Esfahbod <behdad@gnome.org>
+
+ Bug 495091 – pango-utils.c:variable is declared at middle of block
+
+ * pango/pango-utils.c (read_builtin_aliases): Move variable
+ declaraction before code.
+
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: And some more.
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 1d00da17..2b6b1e06 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1282,9 +1282,10 @@ read_builtin_aliases (void)
for (line = 0; line < G_N_ELEMENTS (builtin_aliases); line++)
{
- g_string_assign (line_buffer, builtin_aliases[line]);
gboolean append = FALSE;
+ g_string_assign (line_buffer, builtin_aliases[line]);
+
pos = line_buffer->str;
ASSERT (pango_scan_string (&pos, tmp_buffer1) &&