diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-12-15 10:50:24 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-12-15 10:50:24 +0000 |
commit | 7c039a46d5faf90e26408e073cedca510efc1eac (patch) | |
tree | daa41a2e68a32a9d71505455546f425272abfd70 /mktable.c | |
parent | [w3m-dev 04419] AC_W3M_EXTLIBS does not check /lib64 (diff) | |
download | w3m-7c039a46d5faf90e26408e073cedca510efc1eac.tar.gz w3m-7c039a46d5faf90e26408e073cedca510efc1eac.zip |
[w3m-dev 04424] http://www.j10n.org/files/w3m-cvs-1.1040-misc.patch
Diffstat (limited to '')
-rw-r--r-- | mktable.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: mktable.c,v 1.15 2007/05/31 01:19:50 inu Exp $ */ +/* $Id: mktable.c,v 1.16 2010/12/15 10:50:24 htrb Exp $ */ #include <stdio.h> #include <stdlib.h> #include "myctype.h" @@ -102,7 +102,7 @@ main(int argc, char *argv[], char **envp) } printf("static HashItem_si MyHashItem[] = {\n"); for (i = 0; i < j; i++) { - printf(" /* %d */ {\"%s\",%s,", i, + printf(" /* %d */ {\"%s\", %s, ", i, hashitems[i]->key, hashitems[i]->value); if (hashitems[i]->next == NULL) { printf("NULL},\n"); @@ -116,13 +116,13 @@ main(int argc, char *argv[], char **envp) for (i = 0; i < hash->size; i++) { if (hash->tab[i]) - printf(" &MyHashItem[%d],\n", + printf(" &MyHashItem[%d],\n", getHash_hss_i(rhash, hash->tab[i], -1)); else - printf(" NULL,\n"); + printf(" NULL,\n"); } printf("};\n\n"); - printf("Hash_si %s = {%d, MyHashItemTbl};\n", fbase->ptr, hash->size); + printf("Hash_si %s = { %d, MyHashItemTbl };\n", fbase->ptr, hash->size); exit(0); } |