diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-07 21:37:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-07 21:37:15 -0400 |
commit | dd83708301c05fd02866b9a2e1d2a811341f8c92 (patch) | |
tree | 9deb5af486c0ef5d08f7acd310e573349a84c95a /tests/test-break.c | |
parent | 0bf9522e2d572928ba61c6b5a8b1f2113d8b4c5d (diff) | |
download | pango-dd83708301c05fd02866b9a2e1d2a811341f8c92.tar.gz |
test-break: Print line separator in hex
This alternative is not useful.
Diffstat (limited to 'tests/test-break.c')
-rw-r--r-- | tests/test-break.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-break.c b/tests/test-break.c index f9b8d94e..e4c5bd28 100644 --- a/tests/test-break.c +++ b/tests/test-break.c @@ -176,7 +176,9 @@ test_file (const gchar *filename, GString *string) g_string_append (s3, " "); g_string_append (s4, " "); } - else if (g_unichar_isprint (ch)) + else if (g_unichar_isgraph (ch) && + !(g_unichar_type (ch) == G_UNICODE_LINE_SEPARATOR || + g_unichar_type (ch) == G_UNICODE_PARAGRAPH_SEPARATOR)) { g_string_append_unichar (string, ch); g_string_append (s1, " "); |