diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 20:20:35 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 20:20:35 +0000 |
commit | a0225fbf560de93c7b41acf9dbf01c9d99173af9 (patch) | |
tree | bb8f58010c8801a27545728393253b6c4722c6c4 /tests/dump-boundaries.c | |
parent | 0ee36da9691c2311d2134fd61f222ea3bed5827e (diff) | |
download | pango-a0225fbf560de93c7b41acf9dbf01c9d99173af9.tar.gz |
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
svn path=/trunk/; revision=2165
Diffstat (limited to 'tests/dump-boundaries.c')
-rw-r--r-- | tests/dump-boundaries.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/dump-boundaries.c b/tests/dump-boundaries.c index 9d6aefa7..9c890d28 100644 --- a/tests/dump-boundaries.c +++ b/tests/dump-boundaries.c @@ -61,11 +61,11 @@ dump_text (const char *text) attrs = g_new0 (PangoLogAttr, len + 1); pango_get_log_attrs (text, - -1, - 0, - pango_language_from_string ("C"), - attrs, - len + 1); + -1, + 0, + pango_language_from_string ("C"), + attrs, + len + 1); ucs4 = g_utf8_to_ucs4 (text, -1, NULL, NULL, NULL); @@ -78,27 +78,27 @@ dump_text (const char *text) g_unichar_to_utf8 (ucs4[i], buf); if (*buf == '\n') - loc = g_strdup ("\\n"); + loc = g_strdup ("\\n"); else if (*buf == '\r') - loc = g_strdup ("\\r"); + loc = g_strdup ("\\r"); else - loc = g_locale_from_utf8 (buf, -1, NULL, NULL, NULL); + loc = g_locale_from_utf8 (buf, -1, NULL, NULL, NULL); g_print (CHFORMAT " (%s):\t line_break = %d mandatory_break = %d char_break = %d\n" - " \t\t white = %d cursor_position = %d\n" - " \t\t word_start = %d word_end = %d\n" - " \t\t sentence_boundary = %d sentence_start = %d sentence_end = %d\n", - ucs4[i], loc ? loc : "?", - attrs[i].is_line_break, - attrs[i].is_mandatory_break, - attrs[i].is_char_break, - attrs[i].is_white, - attrs[i].is_cursor_position, - attrs[i].is_word_start, - attrs[i].is_word_end, - attrs[i].is_sentence_boundary, - attrs[i].is_sentence_start, - attrs[i].is_sentence_end); + " \t\t white = %d cursor_position = %d\n" + " \t\t word_start = %d word_end = %d\n" + " \t\t sentence_boundary = %d sentence_start = %d sentence_end = %d\n", + ucs4[i], loc ? loc : "?", + attrs[i].is_line_break, + attrs[i].is_mandatory_break, + attrs[i].is_char_break, + attrs[i].is_white, + attrs[i].is_cursor_position, + attrs[i].is_word_start, + attrs[i].is_word_end, + attrs[i].is_sentence_boundary, + attrs[i].is_sentence_start, + attrs[i].is_sentence_end); g_free (loc); |