*.c, *.h: Removed spaces followed b tabs.
authorBehdad Esfahbod <behdad@gnome.org>
Tue, 16 Jan 2007 20:26:43 +0000 (20:26 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Tue, 16 Jan 2007 20:26:43 +0000 (20:26 +0000)
2007-01-16  Behdad Esfahbod  <behdad@gnome.org>

        *.c, *.h: Removed spaces followed b tabs.

svn path=/trunk/; revision=2166

22 files changed:
ChangeLog
modules/indic/indic-ot.c
modules/indic/indic-ot.h
modules/syriac/syriac-ot.c
modules/thai/thai-ot.c
modules/thai/thai-shaper.c
modules/tibetan/tibetan-fc.c
pango-view/viewer-cairo.h
pango-view/viewer-render.c
pango/fonts.c
pango/pango-context.c
pango/pango-engine.h
pango/pango-impl-utils.h
pango/pango-layout.c
pango/pango-tabs.c
pango/pangoatsui.c
pango/pangocairo-private.h
pango/pangofc-fontmap.c
pango/pangowin32.h
pango/pangoxft-font.c
pango/pangoxft-render.c
tools/gen-script-for-lang.c

index 3f0eb7a..e7313de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
 
+       *.c, *.h: Removed spaces followed b tabs.
+
+2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
+
        *.c, *.h: Replace preceding sequences of 8 spaces with tabs.
 
 2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
index 477c53e..e764184 100644 (file)
@@ -265,7 +265,7 @@ glong indic_ot_reorder(const gunichar *chars, const glong *utf8_offsets, glong c
        last_in_word = TRUE;
        switch (indic_ot_get_char_class(class_table, chars[prev]) & CF_CLASS_MASK) {
        case CC_RESERVED:
-           last_in_word = FALSE;
+           last_in_word = FALSE;
            /* Fall through */
        case CC_INDEPENDENT_VOWEL:
        case CC_ZERO_WIDTH_MARK:
@@ -427,7 +427,7 @@ glong indic_ot_reorder(const gunichar *chars, const glong *utf8_offsets, glong c
                 (chars[baseConsonant] == 0x0d30)) &&
                ((chars[baseConsonant - 2] >= 0x0d15) &&
                 (chars[baseConsonant - 2] <= 0x0d39)))  {
-               swapChars (&output, -1, -3);
+               swapChars (&output, -1, -3);
 
                if (mpreFixups) {
                    if (mpreFixups->fFixupCount > 0) {
index b502c67..47dd39f 100644 (file)
@@ -184,7 +184,7 @@ struct _IndicOTClassTable
 {
   gunichar           firstChar;
   gunichar           lastChar;
-  glong              worstCaseExpansion;
+  glong                      worstCaseExpansion;
   IndicOTScriptFlags  scriptFlags;
 
   const IndicOTCharClass  *charClasses;
index abbe856..3099502 100644 (file)
@@ -140,50 +140,50 @@ Get_Joining_Class (gunichar*   string,
  *
  *   R3: <causing|right|dual> && <!(0x0715|0x0716|0x072A)> |<alaph>|
  *
- *      -> [final2]
+ *      -> [final2]
  *
- *      If the preceding glyph cannot be joined to the current
- *      glyph and the preceding character is not a Dalath, Rish,
- *      or Dotless Dalath Rish, then the Alaph takes this contextual
- *      position.
+ *      If the preceding glyph cannot be joined to the current
+ *      glyph and the preceding character is not a Dalath, Rish,
+ *      or Dotless Dalath Rish, then the Alaph takes this contextual
+ *      position.
  *
- *      The [final2] joining rule is placed ahead of the [final] to
- *      give it greater precedence when choosing the correct glyph.
- *      If it comes after the [final] rule, the incorrect glyph is
- *      inserted into position.
+ *      The [final2] joining rule is placed ahead of the [final] to
+ *      give it greater precedence when choosing the correct glyph.
+ *      If it comes after the [final] rule, the incorrect glyph is
+ *      inserted into position.
  *
  *
  *   R4: <0x0715|0x0715|0x072A> |<alaph>|
  *
- *      -> [final3]
+ *      -> [final3]
  *
- *      If the previous glyph is a Dalath, Rish, or Dotless Dalath
- *      Rish, then the Alaph takes this contextual position.
+ *      If the previous glyph is a Dalath, Rish, or Dotless Dalath
+ *      Rish, then the Alaph takes this contextual position.
  *
- *      The [final3] joining rule is placed ahead of the [final] to
- *      give it greater precedence when choosing the correct glyph.
- *      If it comes after the [final] rule, the incorrect glyph is
- *      inserted into position.
+ *      The [final3] joining rule is placed ahead of the [final] to
+ *      give it greater precedence when choosing the correct glyph.
+ *      If it comes after the [final] rule, the incorrect glyph is
+ *      inserted into position.
  *
  *
  *   R5: <causing|right|dual> |<right>|
  *
- *      -> [final]
+ *      -> [final]
  *
  *
  *   R6: <causing|right|dual> |<dual>| <!(causing|right|dual)>
  *
- *      -> [final]
+ *      -> [final]
  *
  *
  *   R7: <causing|left|dual> |<dual>| <causing|right|dual>
  *
- *      -> [medial]
+ *      -> [medial]
  *
  *
  *   R8: <causing|right> |<alaph>| <causing|right|dual>
  *
- *      -> [medial2]
+ *      -> [medial2]
  *
  *       If the Alaph glyph falls in the middle of a Syriac word and
  *       the preceding character cannot be joined to, then the Alaph
@@ -192,7 +192,7 @@ Get_Joining_Class (gunichar*   string,
  *
  *   R9: |<left>| <causing|right|dual>
  *
- *      -> [initial]
+ *      -> [initial]
  *
  *
  *   R10: <!(causing|left|dual)> |<dual>| <causing|right|dual>
index b686632..e17cefd 100644 (file)
@@ -123,7 +123,7 @@ thai_ot_get_ruleset (PangoFont *font)
 
          if (n > 0)
            g_object_set_qdata_full (G_OBJECT (info), ruleset_quark, ruleset,
-                                    (GDestroyNotify)g_object_unref);
+                                    (GDestroyNotify)g_object_unref);
          else
            {
              g_object_unref (ruleset);
@@ -196,7 +196,7 @@ lao_ot_get_ruleset (PangoFont *font)
 
          if (n > 0)
            g_object_set_qdata_full (G_OBJECT (info), ruleset_quark, ruleset,
-                                    (GDestroyNotify)g_object_unref);
+                                    (GDestroyNotify)g_object_unref);
          else
            {
              g_object_unref (ruleset);
index 6d65a3b..91cdbf8 100644 (file)
@@ -193,7 +193,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
            return 3;
          }
        else if (is_char_type (cluster[0], UpTailCons) &&
-                is_char_type (cluster[1], SaraAm))
+                is_char_type (cluster[1], SaraAm))
          {
            glyph_lists[0] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[0]));
@@ -203,7 +203,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
            return 3;
          }
        else if (is_char_type (cluster[0], NoTailCons|BotTailCons|SpltTailCons) &&
-                is_char_type (cluster[1], AboveVowel))
+                is_char_type (cluster[1], AboveVowel))
          {
            glyph_lists[0] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[0]));
@@ -212,25 +212,25 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
            return 2;
          }
        else if (is_char_type (cluster[0], NoTailCons|BotTailCons|SpltTailCons) &&
-                is_char_type (cluster[1], AboveDiac|Tone))
+                is_char_type (cluster[1], AboveDiac|Tone))
          {
            glyph_lists[0] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[0]));
            glyph_lists[1] = thai_make_glyph_tis (font_info,
-                       shiftdown_tone_ad (ucs2tis (cluster[1]), shaping_table));
+                       shiftdown_tone_ad (ucs2tis (cluster[1]), shaping_table));
            return 2;
          }
        else if (is_char_type (cluster[0], UpTailCons) &&
-                is_char_type (cluster[1], AboveVowel))
+                is_char_type (cluster[1], AboveVowel))
          {
            glyph_lists[0] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[0]));
            glyph_lists[1] = thai_make_glyph_tis (font_info,
-                       shiftleft_av (ucs2tis (cluster[1]), shaping_table));
+                       shiftleft_av (ucs2tis (cluster[1]), shaping_table));
            return 2;
          }
        else if (is_char_type (cluster[0], UpTailCons) &&
-                is_char_type (cluster[1], AboveDiac|Tone))
+                is_char_type (cluster[1], AboveDiac|Tone))
          {
            glyph_lists[0] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[0]));
@@ -239,7 +239,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
            return 2;
          }
        else if (is_char_type (cluster[0], NoTailCons|UpTailCons) &&
-                is_char_type (cluster[1], BelowVowel|BelowDiac))
+                is_char_type (cluster[1], BelowVowel|BelowDiac))
          {
            glyph_lists[0] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[0]));
@@ -258,10 +258,10 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
            return 2;
          }
        else if (is_char_type (cluster[0], SpltTailCons) &&
-                is_char_type (cluster[1], BelowVowel|BelowDiac))
+                is_char_type (cluster[1], BelowVowel|BelowDiac))
          {
            glyph_lists[0] = thai_make_glyph_tis (font_info,
-                               tailcutcons (ucs2tis (cluster[0]), shaping_table));
+                              tailcutcons (ucs2tis (cluster[0]), shaping_table));
            glyph_lists[1] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[1]));
            return 2;
@@ -301,7 +301,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
            glyph_lists[1] = thai_make_glyph_tis (font_info,
                                shiftleft_tone_ad (shaping_table->AmComp[0], shaping_table));
            glyph_lists[2] = thai_make_glyph_tis (font_info,
-                               shiftleft_tone_ad (ucs2tis (cluster[1]), shaping_table));
+                               shiftleft_tone_ad (ucs2tis (cluster[1]), shaping_table));
            glyph_lists[3] = thai_make_glyph_tis (font_info, shaping_table->AmComp[1]);
            return 4;
          }
@@ -314,7 +314,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
            glyph_lists[1] = thai_make_glyph_tis (font_info,
                                shiftleft_av (ucs2tis (cluster[1]), shaping_table));
            glyph_lists[2] = thai_make_glyph_tis (font_info,
-                               shiftleft_tone_ad (ucs2tis (cluster[2]), shaping_table));
+                               shiftleft_tone_ad (ucs2tis (cluster[2]), shaping_table));
            return 3;
          }
        else if (is_char_type (cluster[0], UpTailCons) &&
@@ -347,11 +347,11 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
                 is_char_type (cluster[2], AboveDiac|Tone))
          {
            glyph_lists[0] = thai_make_glyph_tis (font_info,
-                               tailcutcons (ucs2tis (cluster[0]), shaping_table));
+                               tailcutcons (ucs2tis (cluster[0]), shaping_table));
            glyph_lists[1] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[1]));
            glyph_lists[2] = thai_make_glyph_tis (font_info,
-                               shiftdown_tone_ad (ucs2tis (cluster[2]), shaping_table));
+                               shiftdown_tone_ad (ucs2tis (cluster[2]), shaping_table));
            return 3;
          }
        else if (is_char_type (cluster[0], BotTailCons) &&
@@ -361,7 +361,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info,
            glyph_lists[0] =
                thai_make_glyph_tis (font_info, ucs2tis (cluster[0]));
            glyph_lists[1] = thai_make_glyph_tis (font_info,
-                               shiftdown_bv_bd (ucs2tis (cluster[1]), shaping_table));
+                               shiftdown_bv_bd (ucs2tis (cluster[1]), shaping_table));
            glyph_lists[2] = thai_make_glyph_tis (font_info,
                                shiftdown_tone_ad (ucs2tis (cluster[2]), shaping_table));
            return 3;
index ff773b0..dfb6882 100644 (file)
@@ -543,10 +543,10 @@ tibetan_engine_shape (PangoEngineShape *engine,
          if ((charClass & CF_DIGIT )
              && ( get_char_class (wcs[i+1]) & CF_PREDIGIT))
           {
-                        pango_ot_buffer_add_glyph (buffer, get_index (fc_font, C_PRE_NUMBER_MARK), pref_p, p - text);
-                        p = g_utf8_next_char (p);
-                        pango_ot_buffer_add_glyph (buffer, get_index (fc_font, wcs[i]), pref_p, p - text);
-                              i += 1;
+                        pango_ot_buffer_add_glyph (buffer, get_index (fc_font, C_PRE_NUMBER_MARK), pref_p, p - text);
+                        p = g_utf8_next_char (p);
+                        pango_ot_buffer_add_glyph (buffer, get_index (fc_font, wcs[i]), pref_p, p - text);
+                              i += 1;
         } else {
          switch (charClass & CF_POS_MASK)
            {
index 6e2adb8..ba5a5d7 100644 (file)
@@ -32,7 +32,7 @@ struct _CairoViewerIface
   const PangoViewer *backend_class;
 
   cairo_surface_t * (*create_surface) (gpointer instance,
-                                      gpointer surface,
+                                      gpointer surface,
                                       int      width,
                                       int      height);
 };
index 6e8bc4a..9d3af1a 100644 (file)
@@ -562,27 +562,27 @@ parse_options (int argc, char *argv[])
     {"hinting",                0, 0, G_OPTION_ARG_CALLBACK,                    &parse_hinting,
      "Hinting style",                                      "none/auto/full"},
     {"indent",         0, 0, G_OPTION_ARG_INT,                         &opt_indent,
-     "Width in points to indent paragraphs",                       "points"},
+     "Width in points to indent paragraphs",                       "points"},
     {"margin",         0, 0, G_OPTION_ARG_INT,                         &opt_margin,
      "Set the margin on the output in pixels",                     "pixels"},
     {"markup",         0, 0, G_OPTION_ARG_NONE,                        &opt_markup,
-     "Interpret text as Pango markup",                                         NULL},
+     "Interpret text as Pango markup",                                 NULL},
     {"output",         'o', 0, G_OPTION_ARG_STRING,                    &opt_output,
-     "Save rendered image to output file",                           "file"},
+     "Save rendered image to output file",                           "file"},
     {"pangorc",                0, 0, G_OPTION_ARG_STRING,                      &opt_pangorc,
      "pangorc file to use (default is ./pangorc)",                   "file"},
     {"rtl",            0, 0, G_OPTION_ARG_NONE,                        &opt_rtl,
-     "Set base direction to right-to-left",                            NULL},
+     "Set base direction to right-to-left",                            NULL},
     {"rotate",         0, 0, G_OPTION_ARG_DOUBLE,                      &opt_rotate,
-     "Angle at which to rotate results",                          "degrees"},
+     "Angle at which to rotate results",                          "degrees"},
     {"runs",           'n', 0, G_OPTION_ARG_INT,                       &opt_runs,
      "Run Pango layout engine this many times",                           "integer"},
     {"text",           't', 0, G_OPTION_ARG_STRING,                    &opt_text,
-     "Text to display (instead of a file)",                        "string"},
+     "Text to display (instead of a file)",                        "string"},
     {"version",                0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, &show_version,
      "Show version numbers",                                           NULL},
     {"waterfall",      0, 0, G_OPTION_ARG_NONE,                        &opt_waterfall,
-     "Create a waterfall display",                                     NULL},
+     "Create a waterfall display",                                     NULL},
     {"width",          'w', 0, G_OPTION_ARG_INT,                       &opt_width,
      "Width in points to which to wrap output",                            "points"},
     {"wrap",           0, 0, G_OPTION_ARG_CALLBACK,                    &parse_wrap,
index 1304124..91186a0 100644 (file)
@@ -709,7 +709,7 @@ pango_font_description_copy_static (const PangoFontDescription *desc)
  * being loaded, but still compare %FALSE.)
  *
  * Return value: %TRUE if the two font descriptions are identical,
- *              %FALSE otherwise.
+ *              %FALSE otherwise.
  **/
 gboolean
 pango_font_description_equal (const PangoFontDescription  *desc1,
index b92f96f..bed0021 100644 (file)
@@ -981,15 +981,15 @@ itemize_state_add_character (ItemizeState     *state,
   state->item->analysis.gravity = state->resolved_gravity;
 
   /* The level vs. gravity dance:
-   *   - If gravity is SOUTH, leave level untouched.
-   *   - If gravity is NORTH, step level one up, to
-   *     not get mirrored upside-down text.
-   *   - If gravity is EAST, step up to an even level, as
-   *     it's a clockwise-rotated layout, so the rotated
-   *     top is unrotated left.
-   *   - If gravity is WEST, step up to an odd level, as
-   *     it's a counter-clockwise-rotated layout, so the rotated
-   *     top is unrotated right.
+   *   - If gravity is SOUTH, leave level untouched.
+   *   - If gravity is NORTH, step level one up, to
+   *     not get mirrored upside-down text.
+   *   - If gravity is EAST, step up to an even level, as
+   *     it's a clockwise-rotated layout, so the rotated
+   *     top is unrotated left.
+   *   - If gravity is WEST, step up to an odd level, as
+   *     it's a counter-clockwise-rotated layout, so the rotated
+   *     top is unrotated right.
    *
    * A similar dance is performed in pango-layout.c:
    * line_set_resolved_dir().  Keep in synch.
index c620db9..ddc9ab1 100644 (file)
@@ -282,7 +282,7 @@ prefix ## _register_type (GTypeModule *module)                                \
       (GClassInitFunc) class_init,                                       \
       (GClassFinalizeFunc) NULL,                                         \
       NULL,          /* class_data */                                    \
-      sizeof (name),                                                     \
+      sizeof (name),                                                     \
       0,             /* n_prelocs */                                     \
       (GInstanceInitFunc) instance_init,                                 \
       NULL           /* value_table */                                   \
index ac6a8e5..2f71dad 100644 (file)
@@ -31,11 +31,11 @@ G_BEGIN_DECLS
 #define PANGO_DEFINE_TYPE_FULL(name, prefix,                              \
                               class_init, instance_init,                  \
                               parent_type, abstract)                      \
-GType                                                                     \
+GType                                                                     \
 prefix ## _get_type (void)                                                \
 {                                                                         \
   static GType object_type = 0;                                                   \
-                                                                          \
+                                                                          \
   if (!object_type)                                                       \
     {                                                                     \
       static const GTypeInfo object_info =                                \
@@ -51,10 +51,10 @@ prefix ## _get_type (void)                                             \
          (GInstanceInitFunc) instance_init,                               \
          NULL           /* value_table */                                 \
        };                                                                 \
-                                                                          \
-      object_type = g_type_register_static (parent_type,                  \
+                                                                          \
+      object_type = g_type_register_static (parent_type,                  \
                                            g_intern_static_string (# name), \
-                                           &object_info, abstract);       \
+                                           &object_info, abstract);       \
     }                                                                     \
                                                                           \
   return object_type;                                                     \
index 309d6e2..5988e83 100644 (file)
@@ -3274,14 +3274,14 @@ line_set_resolved_dir (PangoLayoutLine *line,
     }
 
   /* The direction vs. gravity dance:
-   *   - If gravity is SOUTH, leave direction untouched.
-   *   - If gravity is NORTH, switch direction.
-   *   - If gravity is EAST, set to LTR, as
-   *     it's a clockwise-rotated layout, so the rotated
-   *     top is unrotated left.
-   *   - If gravity is WEST, set to RTL, as
-   *     it's a counter-clockwise-rotated layout, so the rotated
-   *     top is unrotated right.
+   *   - If gravity is SOUTH, leave direction untouched.
+   *   - If gravity is NORTH, switch direction.
+   *   - If gravity is EAST, set to LTR, as
+   *     it's a clockwise-rotated layout, so the rotated
+   *     top is unrotated left.
+   *   - If gravity is WEST, set to RTL, as
+   *     it's a counter-clockwise-rotated layout, so the rotated
+   *     top is unrotated right.
    *
    * A similar dance is performed in pango-context.c:
    * itemize_state_add_character().  Keep in synch.
index fbb9037..705ad0a 100644 (file)
@@ -28,7 +28,7 @@ typedef struct _PangoTab PangoTab;
 
 struct _PangoTab
 {
-  gint location;               /* Offset in pixels of this tab stop
+  gint location;               /* Offset in pixels of this tab stop
                                 * from the left margin of the text.
                                 */
   PangoTabAlign alignment;      /* Where the tab stop appears relative
index fda231e..231c100 100644 (file)
@@ -48,7 +48,7 @@ pango_atsui_font_describe (PangoFont *font)
 
 static PangoCoverage *
 pango_atsui_font_get_coverage (PangoFont     *font,
-                              PangoLanguage *language)
+                              PangoLanguage *language)
 {
   PangoCoverage *coverage;
   int i;
index 74ab88c..d739abf 100644 (file)
@@ -36,7 +36,7 @@ struct _PangoCairoFontMapIface
   GTypeInterface g_iface;
 
   void           (*set_resolution) (PangoCairoFontMap *fontmap,
-                                   double             dpi);
+                                   double             dpi);
   double         (*get_resolution) (PangoCairoFontMap *fontmap);
   PangoRenderer *(*get_renderer)   (PangoCairoFontMap *fontmap);
 };
index de73ecf..7a3985d 100644 (file)
@@ -50,7 +50,7 @@ typedef struct _FontHashKey         FontHashKey;
 
 struct _PangoFcFontMapPrivate
 {
-  GHashTable *fontset_hash;    /* Maps PangoFontDescription -> PangoFcPatternSet  */
+  GHashTable *fontset_hash;    /* Maps PangoFontDescription -> PangoFcPatternSet  */
 
   /* pattern_hash is used to make sure we only store one copy of
    * each identical pattern. (Speeds up lookup).
@@ -842,8 +842,8 @@ pango_fc_make_pattern (const  PangoFontDescription *description,
 #ifdef FC_VERTICAL_LAYOUT
                            FC_VERTICAL_LAYOUT,  FcTypeBool, vertical,
 #endif
-                           FC_SIZE,  FcTypeDouble,  pixel_size * (72. / dpi),
-                           FC_PIXEL_SIZE,  FcTypeDouble,  pixel_size,
+                           FC_SIZE,  FcTypeDouble,  pixel_size * (72. / dpi),
+                           FC_PIXEL_SIZE,  FcTypeDouble,  pixel_size,
                            NULL);
 
   families = g_strsplit (pango_font_description_get_family (description), ",", -1);
index 5831393..1829399 100644 (file)
@@ -98,7 +98,7 @@ void                 pango_win32_font_cache_free         (PangoWin32FontCache *c
 HFONT                pango_win32_font_cache_load         (PangoWin32FontCache *cache,
                                                          const LOGFONT       *logfont);
 void                 pango_win32_font_cache_unload       (PangoWin32FontCache *cache,
-                                                         HFONT                hfont);
+                                                         HFONT                hfont);
 
 PangoFontMap        *pango_win32_font_map_for_display    (void);
 void                 pango_win32_shutdown_display        (void);
index 9fd22d5..73e8710 100644 (file)
@@ -399,9 +399,9 @@ xft_font_get_font (PangoFont *font)
        {
          gchar *name = pango_font_description_to_string (fcfont->description);
          g_warning ("Cannot open font file for font %s", name);
-         g_free (name);
+         g_free (name);
 
-         load_fallback_font (xfont);
+         load_fallback_font (xfont);
        }
     }
 
index 82333e2..efaae64 100644 (file)
@@ -594,7 +594,7 @@ pango_xft_renderer_real_composite_glyphs (PangoXftRenderer *xftrenderer,
       PangoColor *color = pango_renderer_get_color (PANGO_RENDERER (xftrenderer),
                                                    PANGO_RENDER_PART_FOREGROUND);
       if (!color)
-       color = &xftrenderer->priv->default_color;
+       color = &xftrenderer->priv->default_color;
 
       xft_color.color.red = color->red;
       xft_color.color.green = color->green;
index 0e1f5f7..00d847a 100644 (file)
@@ -191,7 +191,7 @@ scripts_for_file (const char *base_dir,
          if (comment)
            *comment = '\0';
          g_strstrip (str);
-         if (str[0] != '\0')   /* Empty */
+         if (str[0] != '\0')   /* Empty */
            scripts_for_line (base_dir, file_part, str, info);
          g_free (str);
          break;