summaryrefslogtreecommitdiff
path: root/strings/uca-dump.c
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2004-11-24 13:28:48 +0400
committerunknown <bar@mysql.com>2004-11-24 13:28:48 +0400
commit135cdcef24a41e07495baae1b5e01f7ba897e031 (patch)
treec494d3cb79c3ee96cbcdf613ef69a49fbf6656ea /strings/uca-dump.c
parentf30976748cf8d164be6dc29b5c0064b9e0f2b3d9 (diff)
downloadmariadb-git-135cdcef24a41e07495baae1b5e01f7ba897e031.tar.gz
uca-dump.c:
Use less wide spaces on the primary level, to avoid big diff for ctype-uca.c. strings/uca-dump.c: Use less wide spaces on the primary level, to avoid big diff for ctype-uca.c.
Diffstat (limited to 'strings/uca-dump.c')
-rw-r--r--strings/uca-dump.c4
1 files changed, 2 insertions, 2 deletions
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);
}