[pango] pango/break.c: Declare variables at top of block



commit bc084fef11c47a2d290307464c6c672428cd1c2e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Dec 4 16:57:13 2018 +0800

    pango/break.c: Declare variables at top of block
    
    This ensures everything build with pre-C89 compilers.

 pango/break.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/pango/break.c b/pango/break.c
index 558df7e6..cdac9c27 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -302,6 +302,9 @@ pango_default_break (const gchar   *text,
       gboolean is_word_boundary;
       gboolean is_sentence_boundary;
 
+      /* Emoji extended pictographics */
+      gboolean is_Extended_Pictographic;
+
 
       wc = next_wc;
       break_type = next_break_type;
@@ -369,7 +372,7 @@ pango_default_break (const gchar   *text,
       /* Just few spaces have variable width. So explicitly mark them.
        */
       attrs[i].is_expandable_space = (0x0020 == wc || 0x00A0 == wc);
-      gboolean is_Extended_Pictographic =
+      is_Extended_Pictographic =
        _pango_Is_Emoji_Extended_Pictographic (wc);
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]