summaryrefslogtreecommitdiff
path: root/tests/test-break.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-07 21:37:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-07 21:37:15 -0400
commitdd83708301c05fd02866b9a2e1d2a811341f8c92 (patch)
tree9deb5af486c0ef5d08f7acd310e573349a84c95a /tests/test-break.c
parent0bf9522e2d572928ba61c6b5a8b1f2113d8b4c5d (diff)
downloadpango-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.c4
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, " ");