diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2013-11-28 11:57:39 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2013-11-28 11:57:39 -0500 |
commit | 422b94378f762167eddba4f1874260f057d184bb (patch) | |
tree | c5284628f5b15a0ac0d857fb8bcb60a5797bf0ce /src/chrtrans | |
parent | 44b428bb55ea5ccb0739bcca2131934a676b6344 (diff) | |
download | lynx-snapshots-422b94378f762167eddba4f1874260f057d184bb.tar.gz |
snapshot of project "lynx", label v2-8-8dev_16x
Diffstat (limited to 'src/chrtrans')
-rw-r--r-- | src/chrtrans/makeuctb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chrtrans/makeuctb.c b/src/chrtrans/makeuctb.c index 4a0e734a..6cbd070b 100644 --- a/src/chrtrans/makeuctb.c +++ b/src/chrtrans/makeuctb.c @@ -1,5 +1,5 @@ /* - * $LynxId: makeuctb.c,v 1.48 2013/07/21 00:42:39 tom Exp $ + * $LynxId: makeuctb.c,v 1.49 2013/11/28 11:28:53 tom Exp $ * * makeuctb.c, derived from conmakehash.c - kw * @@ -365,7 +365,7 @@ int main(int argc, char **argv) * Now we comes to the tricky part. Parse the input table. */ while (fgets(buffer, (int) sizeof(buffer), ctbl) != NULL) { - if ((p = strchr(buffer, '\n')) != NULL) { + if ((p = StrChr(buffer, '\n')) != NULL) { *p = '\0'; } else { fprintf(stderr, @@ -749,7 +749,7 @@ int main(int argc, char **argv) StrNCpy(this_MIMEcharset, argv[3], UC_MAXLEN_MIMECSNAME); } else if (this_MIMEcharset[0] == '\0') { StrNCpy(this_MIMEcharset, tblname, UC_MAXLEN_MIMECSNAME); - if ((p = strchr(this_MIMEcharset, '.')) != 0) { + if ((p = StrChr(this_MIMEcharset, '.')) != 0) { *p = '\0'; } } |