summaryrefslogtreecommitdiff
path: root/tests/unicode-normalize.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-14 02:32:45 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-14 02:32:45 +0000
commit917026269ee4a6fb749758ebc0244bef7a734cae (patch)
treec30e34c2379cb79a789dcf06dc3cda77e4a31f79 /tests/unicode-normalize.c
parent4abd166025f336f8b427e1e0a6faac103d96f87d (diff)
downloadglib-917026269ee4a6fb749758ebc0244bef7a734cae.tar.gz
Patch from Andrew Taylor to improve tables and reduce relocations by using
Tue Nov 13 21:25:35 2001 Owen Taylor <otaylor@redhat.com> * glib/{gen-unicode-tables.pl,gunibreak.c,gunibreak.h, gunichartables.h, gunicomp.h, gunidecomp.[ch], guniprop.c}: Patch from Andrew Taylor to improve tables and reduce relocations by using indices rather than pointers. (#64433) * tests/unicode-normalize.c (main): Fix for changes to g_strsplit().
Diffstat (limited to 'tests/unicode-normalize.c')
-rw-r--r--tests/unicode-normalize.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unicode-normalize.c b/tests/unicode-normalize.c
index ec9574e2c..7021edd50 100644
--- a/tests/unicode-normalize.c
+++ b/tests/unicode-normalize.c
@@ -170,6 +170,9 @@ int main (int argc, char **argv)
}
columns = g_strsplit (buffer->str, ";", -1);
+ if (!columns[0])
+ goto next;
+
if (!process_one (line, columns))
return 1;
g_strfreev (columns);