From 16113e812a5b106db218ffbd5c80f54d8dd395e9 Mon Sep 17 00:00:00 2001 From: "bar@mysql.com" <> Date: Wed, 24 Nov 2004 13:28:48 +0400 Subject: uca-dump.c: Use less wide spaces on the primary level, to avoid big diff for ctype-uca.c. --- strings/uca-dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'strings/uca-dump.c') diff --git a/strings/uca-dump.c b/strings/uca-dump.c index db5cb7e999a..dd3b74a55e8 100644 --- a/strings/uca-dump.c +++ b/strings/uca-dump.c @@ -269,7 +269,7 @@ int main(int ac, char **av) */ int tmp= weight[i]; if (w == 2 && tmp) - tmp= (int)(0x100 - weight[i]); + tmp= (int)(0x20 - weight[i]); printf("0x%04X", tmp); @@ -304,7 +304,7 @@ int main(int ac, char **av) const char *comma= page < MY_UCA_NPAGES-1 ? "," : ""; const char *nline= (page+1) % 4 ? "" : "\n"; if (!pagemaxlen[page]) - printf("NULL %s%s", comma , nline); + printf("NULL %s%s%s", w ? " ": "", comma , nline); else printf("page%03Xdata%s%s%s", page, pname[w], comma, nline); } -- cgit v1.2.1